다음을 통해 공유


SoapNonNegativeInteger.ToString 메서드

정의

ValueString으로 반환합니다.

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

반환

String에서 가져온 Value입니다.

예제

다음 코드 예제에서는 ToString 메서드를 사용하는 방법을 보여 줍니다. 이 코드 예제는 제공 된 큰 예제의 일부는 SoapNonNegativeInteger 클래스입니다.

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

적용 대상