[This is preliminary documentation and is subject to change.]
Used by env var macros evaluator do not remove
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static string AsStringWhenNullOrEmpty(
this string val,
string dflt = ""
)
public static string AsStringWhenNullOrEmpty(
this string val,
string dflt = ""
)
<ExtensionAttribute>
Public Shared Function AsStringWhenNullOrEmpty (
val As String,
Optional dflt As String = ""
) As String
<ExtensionAttribute>
Public Shared Function AsStringWhenNullOrEmpty (
val As String,
Optional dflt As String = ""
) As String
public:
[ExtensionAttribute]
static String^ AsStringWhenNullOrEmpty(
String^ val,
String^ dflt = L""
)
public:
[ExtensionAttribute]
static String^ AsStringWhenNullOrEmpty(
String^ val,
String^ dflt = L""
)
static member AsStringWhenNullOrEmpty :
val : string *
?dflt : string
(* Defaults:
let _dflt = defaultArg dflt ""
*)
-> string
static member AsStringWhenNullOrEmpty :
val : string *
?dflt : string
(* Defaults:
let _dflt = defaultArg dflt ""
*)
-> string
Return Value
Type:
StringUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).