SoapMonth.Value Właściwość

Definicja

Pobiera lub ustawia datę i godzinę bieżącego wystąpienia.

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

Wartość właściwości

DateTime

DateTime Obiekt zawierający datę i godzinę bieżącego wystąpienia.

Przykłady

W poniższym przykładzie kodu pokazano, jak używać Value właściwości. Ten przykład kodu jest częścią większego przykładu udostępnionego SoapMonth dla klasy.

// Print the value of the SoapMonth object.
Console::WriteLine( "The value of the SoapMonth instance is {0}.",
   month->Value );
// Print the value of the SoapMonth object.
Console.WriteLine("The value of the SoapMonth object is {0}.",
    month.Value);

Dotyczy