SoapMonth Constructor ()


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

Initializes a new instance of the SoapMonth class.

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

public SoapMonth()

The following code example shows how to use this constructor.

// Create a SoapMonth object.
SoapMonth month = new SoapMonth();
month.Value = DateTime.Now;
Console.WriteLine("The month is {0}.", month.ToString());

.NET Framework
Available since 1.1
Return to top