SoapDate.Sign Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets whether the date and time of the current instance is positive or negative.
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
Property Value
An integer that indicates whether Value is positive or negative.
Examples
The following code example shows how to use this property. This code example is part of a larger example that is provided for the SoapDate class.
// 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);
Remarks
An integer of less than zero indicates a negative Sign.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for