Метод | Описание | |
---|---|---|
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. |
Результат | string |
public JavaScriptEscape ( string content ) : string | ||
content | string | The text to URL encode and escape JavaScript within. |
Результат | string |
public MapPath ( string virtualPath ) : string | ||
virtualPath | string | The virtual path. |
Результат | string |
public UrlDecode ( string content ) : string | ||
content | string | The text to URL decode. |
Результат | string |
public UrlEncode ( string content ) : string | ||
content | string | The text to URL encode. |
Результат | string |
public UrlPathEncode ( string content ) : string | ||
content | string | The text to URL encode. |
Результат | string |