共用方式為


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
    類型:Int32

    的長度所檢查的資料項目的索引。

傳回值

類型:Int32
最大長度,總字元,在指定之索引上的資料項目,,或-1 (最大長度無法使用或不是合理的。

.NET Framework 安全性

請參閱

參考

IVsDataReaderDescriptor 介面

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