共用方式為


DataViewHierarchyAccessor.GetObjectIdentifier(Int32) Method

Definition

Retrieves the data-source-specific identifier of the object associated with the node matching the specified item ID.

public:
 cli::array <System::Object ^> ^ GetObjectIdentifier(int itemId);
public object[] GetObjectIdentifier (int itemId);
member this.GetObjectIdentifier : int -> obj[]
Public Function GetObjectIdentifier (itemId As Integer) As Object()

Parameters

itemId
Int32

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

Returns

Object[]

Returns the data-source-specific identifier of the object associated with the node matching the specified item ID.

Exceptions

The specified itemId is invalid.

Applies to