System::Web::HttpUtility::UrlEncode method

HttpUtility::UrlEncode(const System::ArrayPtr<uint8_t>&) method

Encodes URI fragment.

static String System::Web::HttpUtility::UrlEncode(const System::ArrayPtr<uint8_t> &bytes)
ParameterTypeDescription
bytesconst System::ArrayPtr<uint8_t>&URI fragment to encode.

ReturnValue

Encoded URI fragment.

See Also

HttpUtility::UrlEncode(const System::ArrayPtr<uint8_t>&, int32_t, int32_t) method

Encodes URI fragment.

static String System::Web::HttpUtility::UrlEncode(const System::ArrayPtr<uint8_t> &bytes, int32_t offset, int32_t count)
ParameterTypeDescription
bytesconst System::ArrayPtr<uint8_t>&URI fragment to encode.
offsetint32_tOffset in the given byte array.
countint32_tNumber of bytes to read from.

ReturnValue

Encoded URI fragment.

See Also

HttpUtility::UrlEncode(String) method

Encodes URI fragment.

static String System::Web::HttpUtility::UrlEncode(String str)
ParameterTypeDescription
strStringURI fragment to encode.

ReturnValue

Encoded URI fragment.

See Also

HttpUtility::UrlEncode(String, const System::SharedPtr<Text::Encoding>&) method

Encodes URI fragment.

static String System::Web::HttpUtility::UrlEncode(String str, const System::SharedPtr<Text::Encoding> &e)
ParameterTypeDescription
strStringURI fragment to encode.
econst System::SharedPtr<Text::Encoding>&Encoding to use.

ReturnValue

Encoded URI fragment.

See Also