Replaces tildas in the string with a AppDomainVirtualPath (localized). If a "~/" sequence is "masked" by placing "\" before it (if the author want to keep the original string), only the masking character is removed and the tilda is not removed.
Namespace: MonoSoftware.MonoX.UtilitiesAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public static string ReplaceTildas(
string content
) |
Visual Basic |
---|
Public Shared Function ReplaceTildas (
content As String
) As String |
Visual C++ |
---|
public:
static String^ ReplaceTildas(
String^ content
) |
F# |
---|
static member ReplaceTildas :
content : string -> string
|
Return Value
Type:
StringString with all tildas replaced by HttpRuntime.AppDomainAppVirtualPath value
See Also