IVsDataReaderDescriptor.GetItemMaxLength(Int32) Method

Definition

Retrieves the maximum length, in characters, of data items at the specified index for the current data reader.

public:
 int GetItemMaxLength(int index);
public int GetItemMaxLength (int index);
abstract member GetItemMaxLength : int -> int
Public Function GetItemMaxLength (index As Integer) As Integer

Parameters

index
Int32

The index of the data item being examined for length.

Returns

The maximum length, in number of characters, of the data item at the specified index; or -1 if the maximum length is unavailable or is not sensible.

Applies to