SoapPositiveInteger.Value Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the numeric value of the current instance.

Namespace:   System.Runtime.Remoting.Metadata.W3cXsd2001
Assembly:  mscorlib (in mscorlib.dll)

public decimal Value { get; set; }

Property Value

Type: System.Decimal

A Decimal indicating the numeric value of the current instance.

Exception Condition
RemotingException

value is less than 1.

The following code example shows how to use the Value property. This code example is part of a larger example that is provided for the SoapPositiveInteger class.

// Print the value of the SoapPositiveInteger object.
Console.WriteLine(
    "The value of the SoapPositiveInteger object is {0}.", 
    xsdInteger.Value);

.NET Framework
Available since 1.1
Return to top
Show: