共用方式為


IPersist.GetClassID Method

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

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IPersist Interface

IPersist Members

Microsoft.VisualStudio.OLE.Interop Namespace