SoapDay 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 SoapDay class.
Overloads
SoapDay() |
Initializes a new instance of the SoapDay class. |
SoapDay(DateTime) |
Initializes a new instance of the SoapDay class with a specified DateTime object. |
SoapDay()
Initializes a new instance of the SoapDay class.
public:
SoapDay();
public SoapDay ();
Public Sub New ()
Examples
The following code example shows how to use this constructor.
// Create a SoapDay object.
SoapDay^ day = gcnew SoapDay;
day->Value = DateTime::Now;
Console::WriteLine( "The day is {0}.", day );
// Create a SoapDay object.
SoapDay day = new SoapDay();
day.Value = DateTime.Now;
Console.WriteLine("The day is {0}.", day.ToString());
Applies to
SoapDay(DateTime)
public:
SoapDay(DateTime value);
public SoapDay (DateTime value);
new System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDay : DateTime -> System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDay
Public Sub New (value As DateTime)
Parameters
Examples
The following code example shows how to use this constructor.
// Create a SoapDay object.
SoapDay^ day = gcnew SoapDay( DateTime::Now );
Console::WriteLine( "The day is {0}.", day );
// Create a SoapDay object.
SoapDay day = new SoapDay(DateTime.Now);
Console.WriteLine("The day is {0}.", day.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