다음을 통해 공유


AdoDotNetDataReader.GetItemMaxLength(Int32) Method

Definition

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

public:
 override int GetItemMaxLength(int index);
public override int GetItemMaxLength (int index);
override this.GetItemMaxLength : int -> int
Public Overrides Function GetItemMaxLength (index As Integer) As Integer

Parameters

index
Int32

The index of the data item being examined for length.

Returns

Returns the maximum length, in number of characters, of the data item at the specified index.

Exceptions

The index parameter is invalid.

Applies to