HierarchyNode.GetProperty Method (UInt32, Int32, Object%)

Gets properties of a given node or hierarchy.

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

Syntax

'宣言
Public Overridable Function GetProperty ( _
    itemId As UInteger, _
    propId As Integer, _
    <OutAttribute> ByRef propVal As Object _
) As Integer
'使用
Dim instance As HierarchyNode
Dim itemId As UInteger
Dim propId As Integer
Dim propVal As Object
Dim returnValue As Integer

returnValue = instance.GetProperty(itemId, _
    propId, propVal)
public virtual int GetProperty(
    uint itemId,
    int propId,
    out Object propVal
)
public:
virtual int GetProperty(
    unsigned int itemId, 
    int propId, 
    [OutAttribute] Object^% propVal
)
public function GetProperty(
    itemId : uint, 
    propId : int, 
    propVal : Object
) : int

Parameters

  • itemId
    Type: System.UInt32

    Item identifier of an item in the hierarchy.

Return Value

Type: System.Int32

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

Implements

IVsUIHierarchy.GetProperty(UInt32, Int32, Object%)
IVsHierarchy.GetProperty(UInt32, Int32, Object%)

Permissions

See Also

Reference

HierarchyNode Class

HierarchyNode Members

GetProperty Overload

Microsoft.VisualStudio.Package Namespace

GetProperty