IVsDataReaderDescriptor.GetItemMaxLength Method

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

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

Syntax

'宣言
Function GetItemMaxLength ( _
    index As Integer _
) As Integer
'使用
Dim instance As IVsDataReaderDescriptor
Dim index As Integer
Dim returnValue As Integer

returnValue = instance.GetItemMaxLength(index)
int GetItemMaxLength(
    int index
)
int GetItemMaxLength(
    int index
)
function GetItemMaxLength(
    index : int
) : int

Parameters

  • index
    Type: System.Int32

    The index of the data item being examined for length.

Return Value

Type: System.Int32

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.

Permissions

See Also

Reference

IVsDataReaderDescriptor Interface

IVsDataReaderDescriptor Members

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace