共用方式為


GetFieldType 方法

此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。

命名空間:  Microsoft.SqlServer.Replication.BusinessLogicSupport
組件:  Microsoft.SqlServer.Replication.BusinessLogicSupport (在 Microsoft.SqlServer.Replication.BusinessLogicSupport.dll 中)

語法

'宣告
Public Function GetFieldType ( _
    i As Integer _
) As Type
'用途
Dim instance As BusinessLogicDataReader
Dim i As Integer
Dim returnValue As Type

returnValue = instance.GetFieldType(i)
public Type GetFieldType(
    int i
)
public:
virtual Type^ GetFieldType(
    int i
) sealed
abstract GetFieldType : 
        i:int -> Type 
override GetFieldType : 
        i:int -> Type 
public final function GetFieldType(
    i : int
) : Type

參數

傳回值

型別:System. . :: . .Type

實作

IDataRecord. . :: . .GetFieldType(Int32)