SoapPositiveInteger.Value Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on 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

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.
    "The value of the SoapPositiveInteger object is {0}.", 

.NET Framework
Available since 1.1
Return to top