Share via


AdoDotNetTableReader.GetItemMaxLength Method

Retrieves an integer value specifying the maximum length of the data item at the specified index.

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

Syntax

'Declaration
Public Overrides Function GetItemMaxLength ( _
    index As Integer _
) As Integer
public override int GetItemMaxLength(
    int index
)
public:
virtual int GetItemMaxLength(
    int index
) override
abstract GetItemMaxLength : 
        index:int -> int  
override GetItemMaxLength : 
        index:int -> int
public override function GetItemMaxLength(
    index : int
) : int

Parameters

  • index
    Type: System.Int32

    Index into the field specifying the data item for which to retrieve the maximum length value.

Return Value

Type: System.Int32
An integer value specifying the maximum length of the data item.

Implements

IVsDataReaderDescriptor.GetItemMaxLength(Int32)

.NET Framework Security

See Also

Reference

AdoDotNetTableReader Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace