Represents an event.
More...
Inherits IComparable< System::SharedPtr< CustomerEvent > >, and IEquatable< System::SharedPtr< CustomerEvent > >.
◆ CompareTo()
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
- Parameters
-
| obj | An object to compare with this instance, or null. |
- Returns
- This method returns: a value less than 0 if this is less than value 0 if this is equal to value a value greater than 0 if this is greater than value
◆ Equals() [1/3]
Determines whether the specified Object is equal to the current Object.
- Parameters
-
| obj | The Object to compare with the current Object. |
- Returns
- Returns a boolean indicating if the passed in object obj is Equal to this.
◆ Equals() [2/3]
Determines whether the specified object instances are considered equal.
- Parameters
-
| x | The first object to compare. |
| y | The second object to compare. |
- Returns
- true if the objects are considered equal; otherwise, false. If both objA and objB are null, the method returns true.
◆ Equals() [3/3]
| bool Aspose::Email::PersonalInfo::CustomerEvent::Equals |
( |
System::SharedPtr< System::Object > |
obj | ) |
|
|
override |
Determines whether the specified Object is equal to the current Object.
- Parameters
-
| obj | The Object to compare with the current Object. |
- Returns
- Returns a boolean indicating if the passed in object obj is Equal to this.
◆ get_Category()
◆ get_Date()
| System::DateTime Aspose::Email::PersonalInfo::CustomerEvent::get_Date |
( |
| ) |
const |
Gets a date and time for an event.
◆ GetHashCode() [1/2]
| int32_t Aspose::Email::PersonalInfo::CustomerEvent::GetHashCode |
( |
| ) |
const |
|
override |
GetHashCode returns a hash function for this object.
- Returns
- Returns a hash function for this object.
◆ GetHashCode() [2/2]
GetHashCode returns a hash function for specified object.
- Parameters
-
| obj | The Object for which a hash code is to be returned. |
- Returns
- Returns a hash function for specified object.
◆ set_Category()
◆ set_Date()
| void Aspose::Email::PersonalInfo::CustomerEvent::set_Date |
( |
System::DateTime |
value | ) |
|
Sets a date and time for an event.
◆ ToString()
| System::String Aspose::Email::PersonalInfo::CustomerEvent::ToString |
( |
| ) |
const |
|
override |
Returns a string that represents the current object.
- Returns
- Returns a string that represents the current object.
◆ operator!=
Determines whether the specified objects are not equal.
- Parameters
-
| a | First object to compare |
| b | Second object to compare |
- Returns
- Returns true if objects are not equal, otherwise false.
◆ operator==
Determines whether the specified objects are equal.
- Parameters
-
| a | First object to compare |
| b | Second object to compare |
- Returns
- Returns true if objects are equal, otherwise false.