SqlString.Value Property

 

Gets the string that is stored in this SqlString structure. This property is read-only.

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

public string Value { get; }

Property Value

Type: System.String

The string that is stored.

Exception Condition
SqlNullValueException

The value of the string is Null.

.NET Framework
Available since 1.1
Return to top
Show: