Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
声明
Function GetClassID ( _
    <OutAttribute> ByRef pClassID As Guid _
) As Integer
用法
Dim instance As IPersist
Dim pClassID As Guid
Dim returnValue As Integer
returnValue = instance.GetClassID(pClassID)
int GetClassID(
    out Guid pClassID
)
int GetClassID(
    [OutAttribute] Guid% pClassID
)
abstract GetClassID : 
        pClassID:Guid byref -> int 
function GetClassID(
    pClassID : Guid
) : int
Parameters
- pClassID
 Type: System.Guid%
Return Value
Type: System.Int32
.NET Framework Security
- 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.