MaskDescriptor.Equals(Object) 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.
Determines whether the specified MaskDescriptor is equal to the current MaskDescriptor.
public:
override bool Equals(System::Object ^ maskDescriptor);
public override bool Equals(object maskDescriptor);
public override bool Equals(object? maskDescriptor);
override this.Equals : obj -> bool
Public Overrides Function Equals (maskDescriptor As Object) As Boolean
- maskDescriptor
- Object
The MaskDescriptor to compare with the current MaskDescriptor.
true
if the specified MaskDescriptor is equal to the current MaskDescriptor; otherwise, false
.
The Equals method determines whether maskDescriptor
and the current mask descriptor describe the same mask.
This method returns true
if the following conditions are met in both mask descriptors.
The Mask property is the same for both mask descriptors.
The validating type is the same for both mask descriptors.
Nota
The Name property is not considered, because the MaskedTextProvider and MaskedTextBox classes do not use it.
Prodotto | Versioni |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.1, 5, 6, 7, 8, 9, 10 |
Feedback su .NET
.NET è un progetto open source. Seleziona un collegamento per fornire feedback: