共用方式為


DataViewHierarchyAccessor.GetObjectType(Int32) Method

Definition

Retrieves the type of the data object associated with the node matching the specified item ID.

public:
 System::String ^ GetObjectType(int itemId);
public string GetObjectType (int itemId);
member this.GetObjectType : int -> string
Public Function GetObjectType (itemId As Integer) As String

Parameters

itemId
Int32

The item ID of the node for which the object type should be retrieved.

Returns

Returns a string specifying the type of the data object associated with the node matching the specified item ID.

Exceptions

The specified itemId is invalid.

Applies to