SPEncode Members
Include Protected Members
Include Inherited Members
Provides methods for encoding strings.
The SPEncode type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SPEncode | Reserved for internal use. Initializes a new instance of the SPEncode class. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
HtmlDecode | Decodes the specified encoded string, replacing entities with HTML characters. | |
HtmlEncode | Encodes the specified string so that special characters used in HTML are encoded as HTML entities. | |
HtmlEncodePreserveSpaces | Encodes the specified string so that special characters used in HTML are encoded as HTML entities but spaces are preserved. | |
IsLegalCharInUrl | Returns a Boolean value that indicates whether the specified character is a legal character in Universal Resource Locator (URL) protocol. | |
MemberwiseClone | (Inherited from Object.) | |
NoEncode | Applies no encoding to the specified string. | |
ScriptEncode | Encodes a string for use in script. | |
ToString | (Inherited from Object.) | |
UrlDecodeAsUrl | Decodes the encoded Universal Resource Locator (URL) string, removing quoted UTF-8 formatting for special characters. | |
UrlEncode | Encodes the specified string, converting special characters to quoted UTF-8 format. | |
UrlEncodeAsUrl(String) | Encodes the specified string, converting special characters to quoted UTF-8 format, but assumes that the string is a path component of a URL. | |
UrlEncodeAsUrl(String, Boolean) | Encodes the specified string, converting special characters to quoted UTF-8 format, but assumes that the string is a path component of a URL and encodes Unicode characters only if the encodeUnicodeCharacters parameter is true. | |
WriteHtmlEncode | Encodes the specified string so that characters in embedded HTML tags are displayed as text in the browser, and writes the string to the HTTP output content stream. | |
WriteHtmlEncodePreserveSpaces | Encodes the specified string so that characters in embedded HTML tags are displayed as text in the browser and writes the string to the HTTP output content stream, but preserves multiple spaces within the string. | |
WriteHtmlEncodePreserveSpacesWithQuote | Encodes the specified string so that characters in embedded HTML tags are displayed as text in the browser and writes the string to the HTTP output content stream, but preserves multiple spaces within the string and surrounds the string with quotation marks. | |
WriteHtmlEncodeWithQuote | Encodes the specified string so that characters in embedded HTML tags are displayed as text in the browser, and writes the string in quotation marks to the HTTP output content stream. | |
WriteNoEncode(HttpResponse, Decimal) | Applies no encoding to the specified decimal value and writes the value to the HTTP output content stream. | |
WriteNoEncode(HttpResponse, Int32) | Applies no encoding to the specified integer and writes the integer to the HTTP output content stream. | |
WriteNoEncode(HttpResponse, String) | Applies no encoding to the specified string and writes the string to the HTTP output content stream. | |
WriteNoEncodeWithQuote(HttpResponse, Decimal, Char) | Applies no encoding to the specified decimal value and writes the value in quotation marks to the HTTP output content stream. | |
WriteNoEncodeWithQuote(HttpResponse, Int32, Char) | Applies no encoding to the specified integer and writes the integer in quotation marks to the HTTP output content stream. | |
WriteNoEncodeWithQuote(HttpResponse, String, Char) | Applies no encoding to the specified string and writes the string in quotation marks to the HTTP output content stream. | |
WriteScriptEncode | Encodes a string for use in script and writes the string to the HTTP output content stream. | |
WriteScriptEncodeWithQuote | Encodes a string for use in script and writes the string in quotation marks to the HTTP output content stream. | |
WriteUrlEncode | Encodes the specified string, converting special characters to quoted UTF-8 format, and writes the string to the HTTP output content stream. | |
WriteUrlEncodeAsUrl | Encodes the specified string and writes it to the HTTP output content stream, converting special characters to quoted UTF-8 format, but assumes that the string is a path component of a Universal Resource Locator (URL). | |
WriteUrlEncodeAsUrlWithQuote | Encodes the specified string and writes it in quotation marks to the HTTP output content stream, converting special characters to quoted UTF-8 format, but assumes that the string is a path component of a URL. | |
WriteUrlEncodeWithQuote | Encodes the specified string, converting special characters to quoted UTF-8 format, and writes the string in quotation marks to the HTTP output content stream. | |
XmlRemoveControlChars | Encodes the specified XML string and removes control characters. |
Top