SoapNonNegativeInteger 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
SoapNonNegativeInteger 클래스의 새 인스턴스를 초기화합니다.
오버로드
| SoapNonNegativeInteger() |
SoapNonNegativeInteger 클래스의 새 인스턴스를 초기화합니다. |
| SoapNonNegativeInteger(Decimal) |
SoapNonNegativeInteger 값을 사용하여 Decimal 클래스의 새 인스턴스를 초기화합니다. |
SoapNonNegativeInteger()
SoapNonNegativeInteger 클래스의 새 인스턴스를 초기화합니다.
public:
SoapNonNegativeInteger();
public SoapNonNegativeInteger ();
Public Sub New ()
예제
다음 코드 예제에서는이 생성자를 사용 하는 방법을 보여 줍니다.
// Create a SoapNonNegativeInteger object.
SoapNonNegativeInteger^ xsdInteger = gcnew SoapNonNegativeInteger;
xsdInteger->Value = +14;
Console::WriteLine( L"The value of the SoapNonNegativeInteger object is {0}.", xsdInteger );
// Create a SoapNonNegativeInteger object.
SoapNonNegativeInteger xsdInteger =
new SoapNonNegativeInteger();
xsdInteger.Value = +14;
Console.WriteLine(
"The value of the SoapNonNegativeInteger object is {0}.",
xsdInteger.ToString());
적용 대상
SoapNonNegativeInteger(Decimal)
SoapNonNegativeInteger 값을 사용하여 Decimal 클래스의 새 인스턴스를 초기화합니다.
public:
SoapNonNegativeInteger(System::Decimal value);
public SoapNonNegativeInteger (decimal value);
new System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNonNegativeInteger : decimal -> System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNonNegativeInteger
Public Sub New (value As Decimal)
매개 변수
예외
value 가 0보다 작습니다.
예제
다음 코드 예제에서는이 생성자를 사용 하는 방법을 보여 줍니다.
// Create a SoapNonNegativeInteger object.
Decimal decimalValue = +14;
SoapNonNegativeInteger^ xsdInteger = gcnew SoapNonNegativeInteger( decimalValue );
Console::WriteLine( L"The value of the SoapNonNegativeInteger object is {0}.", xsdInteger );
// Create a SoapNonNegativeInteger object.
decimal decimalValue = +14;
SoapNonNegativeInteger xsdInteger =
new SoapNonNegativeInteger(decimalValue);
Console.WriteLine(
"The value of the SoapNonNegativeInteger object is {0}.",
xsdInteger.ToString());