IDebugDocument2::GetDocumentClassID
Applies to: Visual Studio Visual Studio for Mac
Note
This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
Gets the class identifier of the document.
Syntax
HRESULT GetDocumentClassID(
CLSID* pclsid
);
int GetDocumentClassID(
out Guid pclsid
);
Parameters
pclsid
[out] Returns a GUID that is the class ID of the document.
Return Value
If successful, returns S_OK
; otherwise, returns an error code.
Remarks
The class GUID can be used to instantiate individual classes each of which represents a document.