次の方法で共有


AdomdDataReader.GetDecimal メソッド

指定された列の値を表す Decimal を返します。

名前空間:  Microsoft.AnalysisServices.AdomdClient
アセンブリ:  Microsoft.AnalysisServices.AdomdClient (Microsoft.AnalysisServices.AdomdClient.dll)

構文

'宣言
Public Function GetDecimal ( _
    ordinal As Integer _
) As Decimal
'使用
Dim instance As AdomdDataReader 
Dim ordinal As Integer 
Dim returnValue As Decimal 

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

パラメーター

  • ordinal
    型: System.Int32
    取得する列の位置を示す 0 から始まる序数です。

戻り値

型: System.Decimal
指定された列の値を示す Decimal です。

実装

IDataRecord.GetDecimal(Int32)

関連項目

参照

AdomdDataReader クラス

Microsoft.AnalysisServices.AdomdClient 名前空間