Méthode | Description | |
---|---|---|
HtmlEncode ( string content ) : string |
HTML encodes a string and returns the encoded string.
|
|
JavaScriptEscape ( string content ) : string |
Escapes JavaScript with Url encoding and returns the encoded string. Converts quotes, single quotes and CR/LFs to their representation as an escape character. |
|
MapPath ( string virtualPath ) : string |
Returns the physical path for the specified virtual path.
|
|
UrlDecode ( string content ) : string |
URL decodes a string and returns the decoded string.
|
|
UrlEncode ( string content ) : string |
URL encodes a string and returns the encoded string.
|
|
UrlPathEncode ( string content ) : string |
URL encodes the path portion of a URL string and returns the encoded string.
|
public HtmlEncode ( string content ) : string | ||
content | string | The text string to HTML encode. |
Résultat | string |
public JavaScriptEscape ( string content ) : string | ||
content | string | The text to URL encode and escape JavaScript within. |
Résultat | string |
public MapPath ( string virtualPath ) : string | ||
virtualPath | string | The virtual path. |
Résultat | string |
public UrlDecode ( string content ) : string | ||
content | string | The text to URL decode. |
Résultat | string |
public UrlEncode ( string content ) : string | ||
content | string | The text to URL encode. |
Résultat | string |
public UrlPathEncode ( string content ) : string | ||
content | string | The text to URL encode. |
Résultat | string |