パラメータを指定して、SqlDecimal 構造体の新しいインスタンスを初期化します。
名前空間: System.Data.SqlTypes
アセンブリ: System.Data (system.data.dll 内)
構文
'宣言
Public Sub New ( _
bPrecision As Byte, _
bScale As Byte, _
fPositive As Boolean, _
bits As Integer() _
)
'使用
Dim bPrecision As Byte
Dim bScale As Byte
Dim fPositive As Boolean
Dim bits As Integer()
Dim instance As New SqlDecimal(bPrecision, bScale, fPositive, bits)
public SqlDecimal (
byte bPrecision,
byte bScale,
bool fPositive,
int[] bits
)
public:
SqlDecimal (
unsigned char bPrecision,
unsigned char bScale,
bool fPositive,
array<int>^ bits
)
public SqlDecimal (
byte bPrecision,
byte bScale,
boolean fPositive,
int[] bits
)
public function SqlDecimal (
bPrecision : byte,
bScale : byte,
fPositive : boolean,
bits : int[]
)
パラメータ
- bPrecision
新しい SqlDecimal 構造体の Value プロパティを表すために使用できる最大桁数。
- bScale
新しい SqlDecimal 構造体に対して Value プロパティを解決するための小数部桁数。
- fPositive
新しい SqlDecimal 構造体が正数を表すか負数を表すかを示すブール値。
- bits
新しい SqlDecimal の値を指定する 128 ビット符号なし整数。
プラットフォーム
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 2.0、1.1、1.0
.NET Compact Framework
サポート対象 : 2.0、1.0
参照
関連項目
SqlDecimal 構造体
SqlDecimal メンバ
System.Data.SqlTypes 名前空間