SoapNegativeInteger.Value Propriedade

Definição

Obtém ou define o valor numérico da instância atual.

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 Propriedade

A Decimal que indica o valor numérico da instância atual.

Exceções

value é maior que -1.

Exemplos

O seguinte exemplo de código mostra como usar a Value propriedade. Este exemplo de código faz parte de um exemplo maior que é fornecido para a SoapNegativeInteger classe.

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

Aplica-se a