System::Web::HttpUtility::HtmlEncode-methode

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

Codeert HTML‑fragment.

static String System::Web::HttpUtility::HtmlEncode(const SharedPtr<Object> &value)
ParameterTypeBeschrijving
valueconst SharedPtr<Object>&HTML-fragment om te coderen.

ReturnValue

Gecodeerd HTML-fragment.

Zie ook

HttpUtility::HtmlEncode(const String&) method

Codeert HTML‑fragment.

static String System::Web::HttpUtility::HtmlEncode(const String &str)
ParameterTypeBeschrijving
strconst String&HTML-fragment om te coderen.

ReturnValue

Gecodeerd HTML-fragment.

Zie ook

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

Codeert HTML‑fragment.

static void System::Web::HttpUtility::HtmlEncode(const String &str, const SharedPtr<IO::TextWriter> &output)
ParameterTypeBeschrijving
strconst String&HTML-fragment om te coderen.
uitvoerconst SharedPtr<IO::TextWriter>&Een TextWriter-object voor uitvoer.

Zie ook