次の方法で共有


SqlSingle から Single への変換

指定した SqlSingle 構造体を float 型に変換します。

returnValue = SqlSingle.op_Explicit(x)
[C#]
public static explicit operator float(SqlSinglex);
[C++]
public: static float op_Explicit();
[JScript]
returnValue = Single(x);

[Visual Basic] Visual Basic では、この型で定義されている型変換を使用することができます。ただし、独自に定義することはできません。

[JScript] JScript では、この型で定義されている型変換を使用することができます。ただし、独自に定義することはできません。

引数 [Visual Basic, JScript]

  • x
    float 型に変換される SqlSingle 値。

パラメータ [C#]

  • x
    float 型に変換される SqlSingle 値。

戻り値

SqlSingle 構造体の値を格納している float 型。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET

参照

SqlSingle 構造体 | SqlSingle メンバ | System.Data.SqlTypes 名前空間