DataViewHierarchyAccessor.GetObjectProperty(Int32, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves a property of a data object associated with the node matching the specified item ID.
public:
System::Object ^ GetObjectProperty(int itemId, System::String ^ propertyName);
public object GetObjectProperty (int itemId, string propertyName);
member this.GetObjectProperty : int * string -> obj
Public Function GetObjectProperty (itemId As Integer, propertyName As String) As Object
Parameters
- itemId
- Int32
The item ID of the node for which the object property should be retrieved.
- propertyName
- String
The name of the property to retrieve.
Returns
Returns the value of the property of the data object associated with the node matching the specified item ID.
Exceptions
The propertyName
parameter is null.
The specified itemId is invalid.