SqlString Explicit Conversion (SqlString to String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Converts a SqlString to a String

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public static explicit operator string (
	SqlString x
)

Parameters

x
Type: System.Data.SqlTypes.SqlString

The SqlString to be converted.

Return Value

Type: System.String

A String, whose contents are the same as the Value property of the SqlString parameter.

.NET Framework
Available since 1.1
Return to top
Show: