System::Web::HttpUtility::HtmlEncode metod

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

Kodar HTML-fragment.

static String System::Web::HttpUtility::HtmlEncode(const SharedPtr<Object> &value)
ParameterTypBeskrivning
värdeconst SharedPtr<Object>&HTML-fragment att koda.

ReturnValue

Kodad HTML-fragment.

Se även

HttpUtility::HtmlEncode(const String&) method

Kodar HTML-fragment.

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

ReturnValue

Kodad 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)
ParameterTypBeskrivning
strconst String&HTML-fragment att koda.
outputconst SharedPtr<IO::TextWriter>&Ett TextWriter-objekt för utdata.

Se även