SoapNonPositiveInteger.Value Propiedad

Definición

Obtiene o establece el valor numérico de la instancia actual.

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

Valor de propiedad

Valor Decimal que indica el valor numérico de la instancia actual.

Excepciones

value es mayor que cero.

Ejemplos

En el ejemplo de código siguiente se muestra cómo utilizar la propiedad Value. Este ejemplo de código es parte de un ejemplo más grande proporcionado para la clase 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);

Se aplica a