SoapInteger.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 属性。 此代码示例是为 SoapInteger 类提供的一个更大示例的一部分。

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

适用于