AdoDotNetReader.GetItemMaxLength Method
Retrieves the maximum length, in characters, of data items 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.Int32The 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 method could not obtain the maximum length.
Implements
IVsDataReaderDescriptor.GetItemMaxLength(Int32)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.