Gets the GUID value of the supplied property.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Function GetGuidProperty ( _
propid As Integer, _
<OutAttribute> ByRef guid As Guid _
) As Integer
'使用
Dim instance As HierarchyNode
Dim propid As Integer
Dim guid As Guid
Dim returnValue As Integer
returnValue = instance.GetGuidProperty(propid, _
guid)
public virtual int GetGuidProperty(
int propid,
out Guid guid
)
public:
virtual int GetGuidProperty(
int propid,
[OutAttribute] Guid% guid
)
public function GetGuidProperty(
propid : int,
guid : Guid
) : int
Parameters
propid
Type: System.Int32Identifier of the property. For a list of values, see __VSHPROPID.
guid
Type: System.Guid%GUID of the property.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK, otherwise, DISP_E_MEMBERNOTFOUND.
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.