SoapInteger Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the SoapInteger class.
Overloads
SoapInteger() |
Initializes a new instance of the SoapInteger class. |
SoapInteger(Decimal) |
Initializes a new instance of the SoapInteger class with a Decimal value. |
SoapInteger()
Initializes a new instance of the SoapInteger class.
public:
SoapInteger();
public SoapInteger ();
Public Sub New ()
Examples
The following code example shows how to use this constructor.
// 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());
Applies to
SoapInteger(Decimal)
Initializes a new instance of the SoapInteger class with a Decimal value.
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)
Parameters
Examples
The following code example shows how to use this constructor.
// 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());
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for