다음을 통해 공유


SoapNonPositiveInteger.Value 속성

정의

현재 인스턴스의 숫자 값을 가져오거나 설정합니다.

public:
 property System::Decimal Value { System::Decimal get(); void set(System::Decimal value); };
public decimal Value { get; set; }
member this.Value : decimal with get, set
Public Property Value As Decimal

속성 값

현재 인스턴스의 숫자 값을 나타내는 Decimal입니다.

예외

value가 0보다 큽니다.

예제

다음 코드 예제에서는 Value 속성을 사용하는 방법을 보여 줍니다. 이 코드 예제는 제공 된 큰 예제의 일부는 SoapNonPositiveInteger 클래스입니다.

// Print the value of the SoapNonPositiveInteger object.
Console::WriteLine( L"The value of the SoapNonPositiveInteger object is {0}.",
   xsdInteger->Value );
// Print the value of the SoapNonPositiveInteger object.
Console.WriteLine(
    "The value of the SoapNonPositiveInteger " +
    "object is {0}.", xsdInteger.Value);

적용 대상