SoapDay Constructor (DateTime)
Collapse the table of content
Expand the table of content

SoapDay Constructor (DateTime)


Initializes a new instance of the SoapDay class with a specified DateTime object.

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

public SoapDay(
	DateTime value


Type: System.DateTime

A DateTime object to initialize the current instance.

The following code example shows how to use this constructor.

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

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft