IPersistFileFormat.GetClassID Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Dichiarazione
Function GetClassID ( _
<OutAttribute> ByRef pClassID As Guid _
) As Integer
'Utilizzo
Dim instance As IPersistFileFormat
Dim pClassID As Guid
Dim returnValue As Integer
returnValue = instance.GetClassID(pClassID)
int GetClassID(
out Guid pClassID
)
int GetClassID(
[OutAttribute] Guid% pClassID
)
function GetClassID(
pClassID : Guid
) : int
Parameters
pClassID
Type: System.Guid%[out] Points to the location of the CLSID on return. The CLSID is a globally unique identifier (GUID) that uniquely represents an object class that defines the code that can manipulate the object's data.
Return Value
Type: System.Int32
Implements
Remarks
The GetClassID method retrieves the class identifier (CLSID) for an object, used in later operations to load object-specific code into the caller's context.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.