다음을 통해 공유


SP.Utilities.HttpUtility Methods

Applies to: SharePoint Foundation 2010

The following table lists the methods of the SP.Utilities.HttpUtility class.

Methods

Name

Description

appendSourceAndNavigateTo

Appends the source URL to the specified URL and then navigates to the specified URL.

ecmaScriptStringLiteralEncode

Retrieves an encoded version of the specified JavaScript string.

escapeXmlText

Replaces all of the significant HTML characters in specified text with the appropriate HTML entity code.

htmlEncode

Encodes the specified string for use as text between HTML tags, or as an attribute value inside an HTML tag.

HttpUtility

Initializes a new instance of the SP.Utilities.HttpUtility Class.

navigateTo

Navigates to the specified URL.

urlKeyValueEncode

Encodes a string for use in a URL query string.

urlPathEncode

Encodes the specified path part of a URL for HTTP transmission.

Applies To

SP.Utilities.HttpUtility Class

See Also

Reference

SP.Utilities Namespace