Gets the GUID of the project.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Function GetClassID ( _
<OutAttribute> ByRef clsid As Guid _
) As Integer
'使用
Dim instance As ProjectNode
Dim clsid As Guid
Dim returnValue As Integer
returnValue = instance.GetClassID(clsid)
public int GetClassID(
out Guid clsid
)
public:
virtual int GetClassID(
[OutAttribute] Guid% clsid
) sealed
public final function GetClassID(
clsid : Guid
) : int
Parameters
clsid
Type: System.Guid%[out] The GUID of the project.
Return Value
Type: System.Int32
If the method succeeds, S_OK, otherwise an error code.
Implements
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.