SoapNegativeInteger.ToString 方法

定义

返回 Value 作为 String

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

返回

String 中获取 Value

示例

下面的代码示例说明如何使用 ToString 方法。 此代码示例是为 SoapNegativeInteger 类提供的一个更大示例的一部分。

// Print the value of the SoapNegativeInteger object in XSD format.
Console::WriteLine( L"The SoapNegativeInteger object in XSD format is {0}.",
   xsdInteger );
// Print the value of the SoapNegativeInteger object in XSD format.
Console.WriteLine(
    "The SoapNegativeInteger object in XSD format is {0}.",
    xsdInteger.ToString());

适用于