System::Web::HttpUtility::HtmlEncode 方法
内容
[
隐藏
]HttpUtility::HtmlEncode(const SharedPtr<Object>&) method
编码 Html 片段。
static String System::Web::HttpUtility::HtmlEncode(const SharedPtr<Object> &value)
| 参数 | 类型 | 描述 |
|---|---|---|
| 值 | const SharedPtr<Object>& | 要编码的 Html 片段。 |
ReturnValue
已编码的 Html 片段。
另见
- Class String
- Typedef SharedPtr
- Class Object
- Class HttpUtility
- Namespace System::Web
- Library Aspose.Font for C++
HttpUtility::HtmlEncode(const String&) method
编码 Html 片段。
static String System::Web::HttpUtility::HtmlEncode(const String &str)
| 参数 | 类型 | 描述 |
|---|---|---|
| str | const String& | 要编码的 Html 片段。 |
ReturnValue
已编码的 Html 片段。
另见
- Class String
- Class HttpUtility
- Namespace System::Web
- Library Aspose.Font for C++
HttpUtility::HtmlEncode(const String&, const SharedPtr<IO::TextWriter>&) method
编码 Html 片段。
static void System::Web::HttpUtility::HtmlEncode(const String &str, const SharedPtr<IO::TextWriter> &output)
| 参数 | 类型 | 描述 |
|---|---|---|
| str | const String& | 要编码的 Html 片段。 |
| 输出 | const SharedPtr<IO::TextWriter>& | 用于输出的 TextWriter 对象。 |
另见
- Class String
- Typedef SharedPtr
- Class TextWriter
- Class HttpUtility
- Namespace System::Web
- Library Aspose.Font for C++