Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetItemName Method

DataReader.GetItemName Method

Retrieves the name assigned to the data item at the specified index, if any.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

public abstract string GetItemName(
	int index
)

Parameters

index
Type: System.Int32
The index of the data item for which to retrieve the name.

Return Value

Type: System.String
Returns the name assigned to the data item at the index specified by the index parameter, or null if no name exists.

ExceptionCondition
ArgumentOutOfRangeException

The index parameter is invalid.

Community Additions

ADD
Show:
© 2015 Microsoft