Condividi tramite


SoapInteger.Value Proprietà

Definizione

Ottiene o imposta il valore numerico dell'istanza corrente.

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

Valore della proprietà

Valore Decimal che indica il valore numerico dell'istanza corrente.

Esempio

Nell'esempio di codice riportato di seguito viene illustrato come utilizzare la proprietà Value. Questo esempio di codice fa parte di un esempio più grande fornito per la SoapInteger classe.

// 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);

Si applica a