Returns the name of the document without path information.
HRESULT GetFileName( BSTR* pbstrShortName );
- pbstrShortName
[out] String containing the short name of the document.
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. |
This method returns the name of the document without path information. The short name is typically used in dialog boxes.