Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.