IDataReader.GetFieldType Yöntemi
Alır türü tarafından döndürülen nesne türünü karşılık gelen bilgi GetValue.
Ad Alanı: Microsoft.ReportingServices.DataProcessing
Derlemeler: Microsoft.ReportingServices.Interfaces (Microsoft.ReportingServices.Interfaces içinde.dll)
Microsoft.ReportingServices.SharePoint.UI.WebParts (Microsoft.ReportingServices.SharePoint.UI.WebParts içinde.dll)
Sözdizimi
'Bildirim
Function GetFieldType ( _
fieldIndex As Integer _
) As Type
'Kullanım
Dim instance As IDataReader
Dim fieldIndex As Integer
Dim returnValue As Type
returnValue = instance.GetFieldType(fieldIndex)
Type GetFieldType(
int fieldIndex
)
Type^ GetFieldType(
int fieldIndex
)
abstract GetFieldType :
fieldIndex:int -> Type
function GetFieldType(
fieldIndex : int
) : Type
Parametreler
- fieldIndex
Tür: System.Int32
Alan bulmak için dizini.
Dönüş Değeri
Tür: System.Type
Türü bilgi türü için karşılık gelen nesne , döndürülmesi dan GetValue.
Açıklamalar
Özel durumlar
Özel durum türü |
Koşul |
---|---|
IndexOutOfRangeException |
Geçirilen dizin dışında olan aralık 0 ile FieldCount. |