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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。