[This is preliminary documentation and is subject to change.]
Escapes all chars except latin A..Z, 0..9, and . - _
This function is based on EscapeDataString but does not depend on .NET 4/4.5 differences encoding ! * ( ) and others...
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static string EscapeAllDataStringChars(
this string str
)
public static string EscapeAllDataStringChars(
this string str
)
<ExtensionAttribute>
Public Shared Function EscapeAllDataStringChars (
str As String
) As String
<ExtensionAttribute>
Public Shared Function EscapeAllDataStringChars (
str As String
) As String
public:
[ExtensionAttribute]
static String^ EscapeAllDataStringChars(
String^ str
)
public:
[ExtensionAttribute]
static String^ EscapeAllDataStringChars(
String^ str
)
static member EscapeAllDataStringChars :
str : string -> string
static member EscapeAllDataStringChars :
str : string -> 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).