SoapNegativeInteger.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 が -1 より大きい。

次のコード例は、 Value プロパティの使用方法を示しています。 このコード例は、 SoapNegativeInteger クラスに提供されるより大きな例の一部です。

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

適用対象