SoapDay.Value Propriedade
Definição
Obtém ou define a data e hora da instância atual.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
Valor da propriedade
O DateTime objeto que contém a data e a hora da instância atual.The DateTime object that contains the date and time of the current instance.
Exemplos
O exemplo de código a seguir mostra como usar a Value propriedade.The following code example shows how to use the Value property. Este exemplo de código faz parte de um exemplo maior que é fornecido para a SoapDay classe.This code example is part of a larger example that is provided for the SoapDay class.
// Display the value of the SoapDay object.
Console::WriteLine( "The value of the SoapDay instance is {0}.",
day->Value );
// Display the value of the SoapDay object.
Console.WriteLine("The value of the SoapDay object is {0}.",
day.Value);