HierarchyNode.GetGuidProperty Method (UInt32, Int32, Guid%)

Gets the GUID value of the property, given the item ID.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Public Overridable Function GetGuidProperty ( _
    itemId As UInteger, _
    propid As Integer, _
    <OutAttribute> ByRef guid As Guid _
) As Integer
'使用
Dim instance As HierarchyNode
Dim itemId As UInteger
Dim propid As Integer
Dim guid As Guid
Dim returnValue As Integer

returnValue = instance.GetGuidProperty(itemId, _
    propid, guid)
public virtual int GetGuidProperty(
    uint itemId,
    int propid,
    out Guid guid
)
public:
virtual int GetGuidProperty(
    unsigned int itemId, 
    int propid, 
    [OutAttribute] Guid% guid
)
public function GetGuidProperty(
    itemId : uint, 
    propid : int, 
    guid : Guid
) : int

Parameters

  • guid
    Type: System.Guid%

    GUID of the property that is identified by the itemId.

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK; otherwise, DISP_E_MEMBERNOTFOUND.

Implements

IVsUIHierarchy.GetGuidProperty(UInt32, Int32, Guid%)
IVsHierarchy.GetGuidProperty(UInt32, Int32, Guid%)

Permissions

See Also

Reference

HierarchyNode Class

HierarchyNode Members

GetGuidProperty Overload

Microsoft.VisualStudio.Package Namespace