SoapYearMonth.Value Property

 
System_CAPS_noteNote

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

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

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

public DateTime Value { get; set; }

Property Value

Type: System.DateTime

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

The following code example shows how to use this property. This code example is part of a larger example that is provided for the SoapYearMonth class.

// Display the value of the SoapYearMonth object.
Console.WriteLine("The value of the SoapYearMonth object is {0}.",
    yearMonth.Value);

.NET Framework
Available since 1.1
Return to top
Show: