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