Compartir a través de


IPersistFileFormat.GetClassID Method

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function GetClassID ( _
    <OutAttribute> ByRef pClassID As Guid _
) As Integer
int GetClassID(
    out Guid pClassID
)
int GetClassID(
    [OutAttribute] Guid% pClassID
)
abstract GetClassID : 
        pClassID:Guid byref -> int
function GetClassID(
    pClassID : Guid
) : int

Parameters

  • pClassID
    Type: 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: Int32

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.

.NET Framework Security

See Also

Reference

IPersistFileFormat Interface

Microsoft.VisualStudio.Shell.Interop Namespace