SoapNonNegativeInteger.Value Propriedade

Definição

Obtém ou define o valor numérico da instância atual.Gets or sets the numeric value of the current instance.

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 da propriedade

Decimal

Um Decimal que indica o valor numérico da instância atual.A Decimal that indicates the numeric value of the current instance.

Exceções

value é menor que 0.value is less than 0.

Exemplos

O exemplo de código a seguir mostra como usar a Value propriedade.The following code example shows how to use the Value property. Este exemplo de código faz parte de um exemplo maior que é fornecido para a SoapNonNegativeInteger classe.This code example is part of a larger example that is provided for the SoapNonNegativeInteger class.

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

Aplica-se a