NullableTypes Class Library

NullConvert.From Method (NullableString, String)

Converts the specified NullableString value to an equivalent String value using a conventional String value to represent the Null value.

[Visual Basic]
Overloads Public Shared Function From( _
   ByVal x As NullableString, _
   ByVal conventionalNullValue As String _
) As String
[C#]
public static string From(
   NullableString x,
   string conventionalNullValue
);

Parameters

x
The NullableString value to convert.
conventionalNullValue
The String value that conventionally represent the null value.

Return Value

conventionalNullValue if x is Null otherwise the Value of x.

See Also

NullConvert Class | NullableTypes.HelperFunctions Namespace | NullConvert.From Overload List