System::Web::HttpUtility::HtmlEncode metod

HttpUtility::HtmlEncode(const SharedPtr<Object>&) method

Kodar HTML‑fragment.

static String System::Web::HttpUtility::HtmlEncode(const SharedPtr<Object> &value)
ParameterTypeBeskrivning
valueconst SharedPtr<Object>&HTML-fragment att koda.

ReturnValue

Kodat HTML-fragment.

Se även

HttpUtility::HtmlEncode(const String&) method

Kodar HTML‑fragment.

static String System::Web::HttpUtility::HtmlEncode(const String &str)
ParameterTypeBeskrivning
strconst String&HTML-fragment att koda.

ReturnValue

Kodat HTML-fragment.

Se även

HttpUtility::HtmlEncode(const String&, const SharedPtr<IO::TextWriter>&) method

Kodar HTML‑fragment.

static void System::Web::HttpUtility::HtmlEncode(const String &str, const SharedPtr<IO::TextWriter> &output)
ParameterTypeBeskrivning
strconst String&HTML-fragment att koda.
utdataconst SharedPtr<IO::TextWriter>&Ett TextWriter-objekt för utdata.

Se även