SqlString.Value Property


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

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

The value of the string is Null.

.NET Framework
Available since 1.1
Return to top