SqlDataRecord.GetSqlDecimal メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > SqlDataRecord.GetSqlDecimal メソッドの意味・解説 

SqlDataRecord.GetSqlDecimal メソッド

メモ : このメソッドは、.NET Framework version 2.0 で新しく追加されたものです。

序数で指定された列の値を SqlDecimal として取得します。

名前空間: Microsoft.SqlServer.Server
アセンブリ: System.Data (system.data.dll 内)
構文構文

Public Function GetSqlDecimal ( _
    ordinal As Integer _
) As SqlDecimal
Dim instance As SqlDataRecord
Dim ordinal As Integer
Dim returnValue As SqlDecimal

returnValue = instance.GetSqlDecimal(ordinal)
public SqlDecimal GetSqlDecimal (
    int ordinal
)
public:
SqlDecimal GetSqlDecimal (
    int ordinal
)
public SqlDecimal GetSqlDecimal (
    int ordinal
)
public function GetSqlDecimal (
    ordinal : int
) : SqlDecimal

パラメータ

ordinal

列の 0 から始まる序数。

戻り値
列値の SqlDecimal 表現。

例外例外
例外の種類条件

IndexOutOfRangeException

ordinal が 0 未満か、列数 (FieldCount) を超えています。

InvalidCastException

型が一致していません。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SqlDataRecord クラス
SqlDataRecord メンバ
Microsoft.SqlServer.Server 名前空間



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

SqlDataRecord.GetSqlDecimal メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



SqlDataRecord.GetSqlDecimal メソッドのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS