XsltConvert.ToString 方法
定义
将指定的值转换为字符串。Converts the specified value to a string.
重载
| ToString(Double) |
此 API 支持产品基础结构,不能在代码中直接使用。 将指定的值转换为字符串。Converts the specified value to a string. |
| ToString(IList<XPathItem>) |
此 API 支持产品基础结构,不能在代码中直接使用。 将项转换为字符串。Converts the items to a string. |
| ToString(DateTime) |
此 API 支持产品基础结构,不能在代码中直接使用。 将指定的值转换为字符串。Converts the specified value to a string. |
| ToString(XPathItem) |
此 API 支持产品基础结构,不能在代码中直接使用。 将指定的值转换为字符串。Converts the specified value to a string. |
ToString(Double)
将指定的值转换为字符串。Converts the specified value to a string.
此 API 支持产品基础结构,不能在代码中直接使用。
public:
static System::String ^ ToString(double value);
public static string ToString (double value);
static member ToString : double -> string
Public Shared Function ToString (value As Double) As String
参数
- value
- Double
一个 double 类型的值。A value of type double.
返回
一个 string 类型的值。A value of type string.
适用于
ToString(IList<XPathItem>)
将项转换为字符串。Converts the items to a string.
此 API 支持产品基础结构,不能在代码中直接使用。
public:
static System::String ^ ToString(System::Collections::Generic::IList<System::Xml::XPath::XPathItem ^> ^ listItems);
public static string ToString (System.Collections.Generic.IList<System.Xml.XPath.XPathItem> listItems);
static member ToString : System.Collections.Generic.IList<System.Xml.XPath.XPathItem> -> string
Public Shared Function ToString (listItems As IList(Of XPathItem)) As String
参数
返回
一个 string 类型的值。A value of type string.
适用于
ToString(DateTime)
将指定的值转换为字符串。Converts the specified value to a string.
此 API 支持产品基础结构,不能在代码中直接使用。
public:
static System::String ^ ToString(DateTime value);
public static string ToString (DateTime value);
static member ToString : DateTime -> string
Public Shared Function ToString (value As DateTime) As String
参数
- value
- DateTime
一个 DateTime 类型的值。A value of type DateTime.
返回
一个 string 类型的值。A value of type string.
适用于
ToString(XPathItem)
将指定的值转换为字符串。Converts the specified value to a string.
此 API 支持产品基础结构,不能在代码中直接使用。
public:
static System::String ^ ToString(System::Xml::XPath::XPathItem ^ item);
public static string ToString (System.Xml.XPath.XPathItem item);
static member ToString : System.Xml.XPath.XPathItem -> string
Public Shared Function ToString (item As XPathItem) As String
参数
返回
一个 string 类型的值。A value of type string.