System::Web::HttpUtility::UrlDecode 方法

HttpUtility::UrlDecode(const System::ArrayPtr<uint8_t>&, const System::SharedPtr<Text::Encoding>&) method

从字节数组解码 URI 片段。

static String System::Web::HttpUtility::UrlDecode(const System::ArrayPtr<uint8_t> &bytes, const System::SharedPtr<Text::Encoding> &e)
参数类型描述
字节const System::ArrayPtr<uint8_t>&已编码的 URI 片段。
econst System::SharedPtr<Text::Encoding>&要使用的编码。

ReturnValue

已解码的 URI 片段。

另见

HttpUtility::UrlDecode(const System::ArrayPtr<uint8_t>&, int32_t, int32_t, const System::SharedPtr<Text::Encoding>&) method

从字节数组解码 URI 片段。

static String System::Web::HttpUtility::UrlDecode(const System::ArrayPtr<uint8_t> &bytes, int32_t offset, int32_t count, const System::SharedPtr<Text::Encoding> &e)
参数类型描述
字节const System::ArrayPtr<uint8_t>&已编码的 URI 片段。
offsetint32_t给定字节数组中的偏移量。
countint32_t要读取的字节数。
econst System::SharedPtr<Text::Encoding>&要使用的编码。

ReturnValue

已解码的 URI 片段。

另见

HttpUtility::UrlDecode(String) method

从字符串解码 URI 片段。

static String System::Web::HttpUtility::UrlDecode(String str)
参数类型描述
strString已编码的 URI 片段。

ReturnValue

已解码的 URI 片段。

另见

HttpUtility::UrlDecode(String, System::SharedPtr<Text::Encoding>) method

从字符串解码 URI 片段。

static String System::Web::HttpUtility::UrlDecode(String str, System::SharedPtr<Text::Encoding> e)
参数类型描述
strString已编码的 URI 片段。
eSystem::SharedPtr<Text::Encoding>要使用的编码。

ReturnValue

已解码的 URI 片段。

另见