SoapNegativeInteger.Parse(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将指定的 String 转换为 SoapNegativeInteger 对象。
public:
static System::Runtime::Remoting::Metadata::W3cXsd2001::SoapNegativeInteger ^ Parse(System::String ^ value);
public static System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNegativeInteger Parse (string value);
static member Parse : string -> System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNegativeInteger
Public Shared Function Parse (value As String) As SoapNegativeInteger
参数
返回
从 value
获取的 SoapNegativeInteger 对象。
示例
下面的代码示例说明如何使用 Parse 方法。 此代码示例是为 SoapNegativeInteger 类提供的一个更大示例的一部分。
// Parse an XSD formatted string to create a SoapNegativeInteger
// object.
String^ xsdIntegerString = L"-13";
SoapNegativeInteger^ xsdInteger = SoapNegativeInteger::Parse(
xsdIntegerString );
// Parse an XSD formatted string to create a SoapNegativeInteger
// object.
string xsdIntegerString = "-13";
SoapNegativeInteger xsdInteger =
SoapNegativeInteger.Parse(xsdIntegerString);
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈