SoapInteger Costruttori

Definizione

Inizializza una nuova istanza della classe SoapInteger.

Overload

SoapInteger()

Inizializza una nuova istanza della classe SoapInteger.

SoapInteger(Decimal)

Inizializza una nuova istanza della classe SoapInteger con un valore Decimal.

SoapInteger()

Inizializza una nuova istanza della classe SoapInteger.

public:
 SoapInteger();
public SoapInteger ();
Public Sub New ()

Esempio

Nell'esempio di codice seguente viene illustrato come usare questo costruttore.

// Create a SoapInteger object.
SoapInteger^ xsdInteger = gcnew SoapInteger;
xsdInteger->Value = -14;
Console::WriteLine( L"The value of the SoapInteger object is {0}.",
   xsdInteger );
// Create a SoapInteger object.
SoapInteger xsdInteger = new SoapInteger();
xsdInteger.Value = -14;
Console.WriteLine(
    "The value of the SoapInteger object is {0}.",
    xsdInteger.ToString());

Si applica a

SoapInteger(Decimal)

Inizializza una nuova istanza della classe SoapInteger con un valore Decimal.

public:
 SoapInteger(System::Decimal value);
public SoapInteger (decimal value);
new System.Runtime.Remoting.Metadata.W3cXsd2001.SoapInteger : decimal -> System.Runtime.Remoting.Metadata.W3cXsd2001.SoapInteger
Public Sub New (value As Decimal)

Parametri

value
Decimal

Valore Decimal per inizializzare l'istanza corrente.

Esempio

Nell'esempio di codice seguente viene illustrato come usare questo costruttore.

// Create a SoapInteger object.
Decimal decimalValue = -14;
SoapInteger^ xsdInteger = gcnew SoapInteger( decimalValue );
Console::WriteLine( L"The value of the SoapInteger object is {0}.",
   xsdInteger );
// Create a SoapInteger object.
decimal decimalValue = -14;
SoapInteger xsdInteger = new SoapInteger(decimalValue);
Console.WriteLine(
    "The value of the SoapInteger object is {0}.",
    xsdInteger.ToString());

Si applica a