SoapNonNegativeInteger Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Inizializza una nuova istanza della classe SoapNonNegativeInteger.
Overload
SoapNonNegativeInteger() |
Inizializza una nuova istanza della classe SoapNonNegativeInteger. |
SoapNonNegativeInteger(Decimal) |
Inizializza una nuova istanza della classe SoapNonNegativeInteger con un valore Decimal. |
SoapNonNegativeInteger()
Inizializza una nuova istanza della classe SoapNonNegativeInteger.
public:
SoapNonNegativeInteger();
public SoapNonNegativeInteger ();
Public Sub New ()
Esempio
Nell'esempio di codice seguente viene illustrato come usare questo costruttore.
// Create a SoapNonNegativeInteger object.
SoapNonNegativeInteger^ xsdInteger = gcnew SoapNonNegativeInteger;
xsdInteger->Value = +14;
Console::WriteLine( L"The value of the SoapNonNegativeInteger object is {0}.", xsdInteger );
// Create a SoapNonNegativeInteger object.
SoapNonNegativeInteger xsdInteger =
new SoapNonNegativeInteger();
xsdInteger.Value = +14;
Console.WriteLine(
"The value of the SoapNonNegativeInteger object is {0}.",
xsdInteger.ToString());
Si applica a
SoapNonNegativeInteger(Decimal)
Inizializza una nuova istanza della classe SoapNonNegativeInteger con un valore Decimal.
public:
SoapNonNegativeInteger(System::Decimal value);
public SoapNonNegativeInteger (decimal value);
new System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNonNegativeInteger : decimal -> System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNonNegativeInteger
Public Sub New (value As Decimal)
Parametri
Eccezioni
value
è minore di 0.
Esempio
Nell'esempio di codice seguente viene illustrato come usare questo costruttore.
// Create a SoapNonNegativeInteger object.
Decimal decimalValue = +14;
SoapNonNegativeInteger^ xsdInteger = gcnew SoapNonNegativeInteger( decimalValue );
Console::WriteLine( L"The value of the SoapNonNegativeInteger object is {0}.", xsdInteger );
// Create a SoapNonNegativeInteger object.
decimal decimalValue = +14;
SoapNonNegativeInteger xsdInteger =
new SoapNonNegativeInteger(decimalValue);
Console.WriteLine(
"The value of the SoapNonNegativeInteger object is {0}.",
xsdInteger.ToString());
Si applica a
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: nel corso del 2024 verranno dismessi i problemi di GitHub come meccanismo di feedback per il contenuto e verranno sostituiti con un nuovo sistema di feedback. Per altre informazioni, vedere:Invia e visualizza il feedback per