DataProvider.GetDecimal 方法

Returns data for the specified column with the given type. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Public Function GetDecimal ( _
    i As Integer _
) As Decimal
用法
Dim instance As DataProvider 
Dim i As Integer 
Dim returnValue As Decimal 

returnValue = instance.GetDecimal(i)
public decimal GetDecimal(
    int i
)
public:
virtual Decimal GetDecimal(
    int i
) sealed
abstract GetDecimal : 
        i:int -> decimal  
override GetDecimal : 
        i:int -> decimal
public final function GetDecimal(
    i : int
) : decimal

参数

返回值

类型:System.Decimal
Data for the specified column with the given type.

实现

IDataRecord.GetDecimal(Int32)

请参阅

参考

DataProvider 类

Microsoft.SqlServer.Management.Sdk.Sfc 命名空间