DataViewHierarchyAccessor.GetProperty Method
Retrieves a hierarchy property.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaración
Public Function GetProperty ( _
itemId As Integer, _
propertyId As Integer _
) As Object
public Object GetProperty(
int itemId,
int propertyId
)
public:
Object^ GetProperty(
int itemId,
int propertyId
)
member GetProperty :
itemId:int *
propertyId:int -> Object
public function GetProperty(
itemId : int,
propertyId : int
) : Object
Parameters
- itemId
Type: System.Int32
An item ID.
- propertyId
Type: System.Int32
A property ID from the __VSHPROPID enumeration.
Return Value
Type: System.Object
Returns the value of the specified hierarchy property.
.NET Framework Security
- 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.