System::Xml::XmlConvert::ToString method
XmlConvert::ToString(bool) method
Converts the Boolean to a String.
static String System::Xml::XmlConvert::ToString(bool value)
Parameter | Type | Description |
---|---|---|
value | bool | The value to convert. |
ReturnValue
A string representation of the Boolean, that is, “true” or “false”.
See Also
- Class String
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.PDF for C++
XmlConvert::ToString(char16_t) method
Converts the Char to a String.
static String System::Xml::XmlConvert::ToString(char16_t value)
Parameter | Type | Description |
---|---|---|
value | char16_t | The value to convert. |
ReturnValue
A string representation of the Char.
See Also
- Class String
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.PDF for C++
XmlConvert::ToString(DateTime) method
Converts the DateTime to a String.
static String System::Xml::XmlConvert::ToString(DateTime value)
Parameter | Type | Description |
---|---|---|
value | DateTime | The value to convert. |
ReturnValue
A string representation of the DateTime in the format yyyy-MM-ddTHH:mm:ss where ‘T’ is a constant literal.
See Also
- Class String
- Class DateTime
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.PDF for C++
XmlConvert::ToString(DateTime, const String&) method
Converts the DateTime to a String.
static String System::Xml::XmlConvert::ToString(DateTime value, const String &format)
Parameter | Type | Description |
---|---|---|
value | DateTime | The value to convert. |
format | const String& | The format structure that defines how to display the converted string. Valid formats include “yyyy-MM-ddTHH:mm:sszzzzzz” and its subsets. |
ReturnValue
A string representation of the DateTime in the specified format.
See Also
- Class String
- Class DateTime
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.PDF for C++
XmlConvert::ToString(DateTime, XmlDateTimeSerializationMode) method
Converts the DateTime to a String using the XmlDateTimeSerializationMode specified.
static String System::Xml::XmlConvert::ToString(DateTime value, XmlDateTimeSerializationMode dateTimeOption)
Parameter | Type | Description |
---|---|---|
value | DateTime | The DateTime value to convert. |
dateTimeOption | XmlDateTimeSerializationMode | One of the XmlDateTimeSerializationMode values that specify how to treat the DateTime value. |
ReturnValue
A String equivalent of the DateTime.
See Also
- Class String
- Class DateTime
- Enum XmlDateTimeSerializationMode
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.PDF for C++
XmlConvert::ToString(DateTimeOffset) method
Converts the supplied DateTimeOffset to a String.
static String System::Xml::XmlConvert::ToString(DateTimeOffset value)
Parameter | Type | Description |
---|---|---|
value | DateTimeOffset | The DateTimeOffset to be converted. |
ReturnValue
A String representation of the supplied DateTimeOffset.
See Also
- Class String
- Class DateTimeOffset
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.PDF for C++
XmlConvert::ToString(DateTimeOffset, const String&) method
Converts the supplied DateTimeOffset to a String in the specified format.
static String System::Xml::XmlConvert::ToString(DateTimeOffset value, const String &format)
Parameter | Type | Description |
---|---|---|
value | DateTimeOffset | The DateTimeOffset to be converted. |
format | const String& | The format to which s is converted. The format parameter can be any subset of the W3C Recommendation for the XML dateTime type. For more information, see the dateTime section of the XML Schema specification. |
ReturnValue
A String representation in the specified format of the supplied DateTimeOffset.
See Also
- Class String
- Class DateTimeOffset
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.PDF for C++
XmlConvert::ToString(Decimal) method
Converts the Decimal to a String.
static String System::Xml::XmlConvert::ToString(Decimal value)
Parameter | Type | Description |
---|---|---|
value | Decimal | The value to convert. |
ReturnValue
A string representation of the Decimal.
See Also
- Class String
- Class Decimal
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.PDF for C++
XmlConvert::ToString(double) method
Converts the Double to a String.
static String System::Xml::XmlConvert::ToString(double value)
Parameter | Type | Description |
---|---|---|
value | double | The value to convert. |
ReturnValue
A string representation of the Double.
See Also
- Class String
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.PDF for C++
XmlConvert::ToString(float) method
Converts the Single to a String.
static String System::Xml::XmlConvert::ToString(float value)
Parameter | Type | Description |
---|---|---|
value | float | The value to convert. |
ReturnValue
A string representation of the Single.
See Also
- Class String
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.PDF for C++
XmlConvert::ToString(Guid) method
Converts the Guid to a String.
static String System::Xml::XmlConvert::ToString(Guid value)
Parameter | Type | Description |
---|---|---|
value | Guid | The value to convert. |
ReturnValue
A string representation of the Guid.
See Also
- Class String
- Class Guid
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.PDF for C++
XmlConvert::ToString(int16_t) method
Converts the Int16 to a String.
static String System::Xml::XmlConvert::ToString(int16_t value)
Parameter | Type | Description |
---|---|---|
value | int16_t | The value to convert. |
ReturnValue
A string representation of the Int16.
See Also
- Class String
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.PDF for C++
XmlConvert::ToString(int32_t) method
Converts the Int32 to a String.
static String System::Xml::XmlConvert::ToString(int32_t value)
Parameter | Type | Description |
---|---|---|
value | int32_t | The value to convert. |
ReturnValue
A string representation of the Int32.
See Also
- Class String
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.PDF for C++
XmlConvert::ToString(int64_t) method
Converts the Int64 to a String.
static String System::Xml::XmlConvert::ToString(int64_t value)
Parameter | Type | Description |
---|---|---|
value | int64_t | The value to convert. |
ReturnValue
A string representation of the Int64.
See Also
- Class String
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.PDF for C++
XmlConvert::ToString(int8_t) method
Converts the SByte to a String.
static String System::Xml::XmlConvert::ToString(int8_t value)
Parameter | Type | Description |
---|---|---|
value | int8_t | The value to convert. |
ReturnValue
A string representation of the SByte.
See Also
- Class String
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.PDF for C++
XmlConvert::ToString(TimeSpan) method
Converts the TimeSpan to a String.
static String System::Xml::XmlConvert::ToString(TimeSpan value)
Parameter | Type | Description |
---|---|---|
value | TimeSpan | The value to convert. |
ReturnValue
A string representation of the TimeSpan.
See Also
- Class String
- Class TimeSpan
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.PDF for C++
XmlConvert::ToString(uint16_t) method
Converts the UInt16 to a String.
static String System::Xml::XmlConvert::ToString(uint16_t value)
Parameter | Type | Description |
---|---|---|
value | uint16_t | The value to convert. |
ReturnValue
A string representation of the UInt16.
See Also
- Class String
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.PDF for C++
XmlConvert::ToString(uint32_t) method
Converts the UInt32 to a String.
static String System::Xml::XmlConvert::ToString(uint32_t value)
Parameter | Type | Description |
---|---|---|
value | uint32_t | The value to convert. |
ReturnValue
A string representation of the UInt32.
See Also
- Class String
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.PDF for C++
XmlConvert::ToString(uint64_t) method
Converts the UInt64 to a String.
static String System::Xml::XmlConvert::ToString(uint64_t value)
Parameter | Type | Description |
---|---|---|
value | uint64_t | The value to convert. |
ReturnValue
A string representation of the UInt64.
See Also
- Class String
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.PDF for C++
XmlConvert::ToString(uint8_t) method
Converts the Byte to a String.
static String System::Xml::XmlConvert::ToString(uint8_t value)
Parameter | Type | Description |
---|---|---|
value | uint8_t | The value to convert. |
ReturnValue
A string representation of the Byte.
See Also
- Class String
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.PDF for C++