IVsDataReaderDescriptor.GetItemMaxLength 方法

检索最大长度,在字符,数据项在当前数据读取器的指定索引。

命名空间:  Microsoft.VisualStudio.Data.Services.SupportEntities
程序集:  Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)

语法

声明
Function GetItemMaxLength ( _
    index As Integer _
) As Integer
int GetItemMaxLength(
    int index
)
int GetItemMaxLength(
    int index
)
abstract GetItemMaxLength : 
        index:int -> int 
function GetItemMaxLength(
    index : int
) : int

参数

  • index
    类型:System.Int32
    为长度时检查的数据项的索引。

返回值

类型:System.Int32
最大长度,总数字符,位于指定索引处的数据项;或-1,则最大长度不可用或不是合理的。

.NET Framework 安全性

请参见

参考

IVsDataReaderDescriptor 接口

Microsoft.VisualStudio.Data.Services.SupportEntities 命名空间