Edit

Share via


SoapMonthDay.Value Property

Definition

Gets or sets the date and time of the current instance.

public:
 property DateTime Value { DateTime get(); void set(DateTime value); };
public DateTime Value { get; set; }
member this.Value : DateTime with get, set
Public Property Value As DateTime

Property Value

The DateTime object that contains the date and time of the current instance.

Examples

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 SoapMonthDay class.

// Print the value of the SoapMonthDay object.
Console::WriteLine( L"The value of the SoapMonthDay object is {0}.",
   monthDay->Value );
// Print the value of the SoapMonthDay object.
Console.WriteLine("The value of the SoapMonthDay object is {0}.",
    monthDay.Value);

Applies to