IDebugDocumentHost::GetFileName

Returns the name of the document without path information.

Syntax

HRESULT GetFileName(  
   BSTR*  pbstrShortName  
);  

Parameters

pbstrShortName
[out] A string containing the short name of the document.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Value Description
S_OK The method succeeded.

Remarks

This method returns the short name of the document without path information. The short name is typically used in situations such as the Save As... dialog box.

See also

IDebugDocumentHost Interface