System::Net::Http::Headers::NameValueHeaderValue::ToString 方法
内容
[
隐藏
]NameValueHeaderValue::ToString() const method
类似 C# Object.ToString() 方法。 实现将自定义对象转换为字符串的功能。
String System::Net::Http::Headers::NameValueHeaderValue::ToString() const override
ReturnValue
String representation as provided by final class.
另见
- Class String
- Class NameValueHeaderValue
- Namespace System::Net::Http::Headers
- Library Aspose.Font for C++
NameValueHeaderValue::ToString(System::SharedPtr<ObjectCollection<System::SharedPtr<NameValueHeaderValue>>>, char16_t, bool) method
返回 NameValueHeaderValue 类实例集合的字符串表示形式。
static String System::Net::Http::Headers::NameValueHeaderValue::ToString(System::SharedPtr<ObjectCollection<System::SharedPtr<NameValueHeaderValue>>> values, char16_t separator, bool leadingSeparator)
| 参数 | 类型 | 描述 |
|---|---|---|
| 值 | System::SharedPtr<ObjectCollection<System::SharedPtr<NameValueHeaderValue>>> | NameValueHeaderValue 类实例的集合。 |
| 分隔符 | char16_t | 字符串分隔符。 |
| leadingSeparator | bool | 指示是否在第一个集合项之前添加字符串分隔符的值。 |
ReturnValue
NameValueHeaderValue 类实例集合的字符串表示形式。
另见
- Class String
- Typedef SharedPtr
- Class ObjectCollection
- Class NameValueHeaderValue
- Class NameValueHeaderValue
- Namespace System::Net::Http::Headers
- Library Aspose.Font for C++
NameValueHeaderValue::ToString(System::SharedPtr<ObjectCollection<System::SharedPtr<NameValueHeaderValue>>>, char16_t, bool, System::SharedPtr<Text::StringBuilder>) method
返回 NameValueHeaderValue 类实例集合的字符串表示形式。
static void System::Net::Http::Headers::NameValueHeaderValue::ToString(System::SharedPtr<ObjectCollection<System::SharedPtr<NameValueHeaderValue>>> values, char16_t separator, bool leadingSeparator, System::SharedPtr<Text::StringBuilder> destination)
| 参数 | 类型 | 描述 |
|---|---|---|
| 值 | System::SharedPtr<ObjectCollection<System::SharedPtr<NameValueHeaderValue>>> | NameValueHeaderValue 类实例的集合。 |
| 分隔符 | char16_t | 字符串分隔符。 |
| leadingSeparator | bool | 指示是否在第一个集合项之前添加字符串分隔符的值。 |
| destination | System::SharedPtr<Text::StringBuilder> | 将分配字符串表示形式的实例。 |
另见
- Typedef SharedPtr
- Class ObjectCollection
- Class NameValueHeaderValue
- Class StringBuilder
- Class NameValueHeaderValue
- Namespace System::Net::Http::Headers
- Library Aspose.Font for C++