DateOnly.Equals Method
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.
Equals(DateOnly) |
Returns a value indicating whether the value of this instance is equal to the value of the specified DateOnly instance. |
Equals(Object) |
Returns a value indicating whether this instance is equal to a specified object. |
- Source:
- DateOnly.cs
- Source:
- DateOnly.cs
- Source:
- DateOnly.cs
Returns a value indicating whether the value of this instance is equal to the value of the specified DateOnly instance.
public:
virtual bool Equals(DateOnly value);
public bool Equals (DateOnly value);
override this.Equals : DateOnly -> bool
Public Function Equals (value As DateOnly) As Boolean
Parameters
- value
- DateOnly
The object to compare to this instance.
Returns
true
if the value parameter equals the value of this instance; otherwise, false
.
Implements
Applies to
.NET 9 और अन्य संस्करण
उत्पाद | संस्करण |
---|---|
.NET | 6, 7, 8, 9 |
- Source:
- DateOnly.cs
- Source:
- DateOnly.cs
- Source:
- DateOnly.cs
Returns a value indicating whether this instance is equal to a specified object.
public:
override bool Equals(System::Object ^ value);
public override bool Equals (object? value);
override this.Equals : obj -> bool
Public Overrides Function Equals (value As Object) As Boolean
Parameters
- value
- Object
The object to compare to this instance.
Returns
true
if value is an instance of DateOnly and equals the value of this instance; otherwise, false
.
Applies to
.NET 9 और अन्य संस्करण
उत्पाद | संस्करण |
---|---|
.NET | 6, 7, 8, 9 |
.NET प्रतिक्रिया
.NET एक ओपन सोर्स प्रोजेक्ट है. प्रतिक्रिया प्रदान करने के लिए लिंक का चयन करें: