Share via


IDebugDocumentInfo::GetName

Returns the specified document name.

Syntax

HRESULT GetName(  
   DOCUMENTNAMETYPE  dnt,  
   BSTR*             pbstrName  
);  

Parameters

dnt
[in] The type of document name to return.

pbstrName
[out] String containing the name.

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.
E_FAIL The specified document name is not known.

Remarks

This method returns the specified document name.

See also

IDebugDocumentInfo Interface
DOCUMENTNAMETYPE Enumeration