SoapNegativeInteger.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
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 é maior do que -1.value is greater than -1.
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 SoapNegativeInteger classe.This code example is part of a larger example that is provided for the SoapNegativeInteger class.
// 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);