Export (0) Print
Expand All

SqlDecimal to SqlString Conversion

.NET Framework 1.1

Converts the specified SqlDecimal parameter to SqlString.

[Visual Basic]
returnValue = SqlString.op_Explicit(x)
[C#]
public static explicit operator SqlString(
 SqlDecimal x
);
[C++]
public: static SqlString op_Explicit(
 SqlDecimal x
);
[JScript]
returnValue = SqlString(x);

[Visual Basic] In Visual Basic, you can use the conversion operators defined by a type, but you cannot define your own. You can use the ToSqlString method instead of the SqlDecimal to SqlString conversion.

[JScript] In JScript, you can use the conversion operators defined by a type, but you cannot define your own.

Arguments [Visual Basic, JScript]

x
The SqlDecimal structure to be converted.

Parameters [C#, C++]

x
The SqlDecimal structure to be converted.

Return Value

A new SqlString containing the string representation of the SqlDecimal parameter.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

SqlString Structure | SqlString Members | System.Data.SqlTypes Namespace

Show:
© 2014 Microsoft