Returns the specified document name.
HRESULT GetName( DOCUMENTNAMETYPE dnt, BSTR* pbstrName );
- dnt
[in] The type of document name to return.
- pbstrName
[out] String containing the name.
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. |
E_FAIL | The specified document name is not known. |
This method returns the specified document name.