SoapDate.Sign Propiedad

Definición

Obtiene o establece si la fecha y la hora de la instancia actual es positiva o negativa.

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

Valor de propiedad

Entero que indica si Value es positivo o negativo.

Ejemplos

En el ejemplo de código siguiente se muestra cómo usar esta propiedad. Este ejemplo de código es parte de un ejemplo más grande proporcionado para la clase SoapDate.

// Print out the sign of the SoapDate object.
Console::WriteLine( "The sign of the SoapDate instance is {0}.",
   date->Sign );
// Print the sign of the SoapDate object.
Console.WriteLine("The sign of the SoapDate object is {0}.",
    date.Sign);

Comentarios

Un entero de menos de cero indica un valor negativo Sign.

Se aplica a