MaskDescriptor.Equals(Object) Method
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.
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
Parameters
- maskDescriptor
- Object
The MaskDescriptor to compare with the current MaskDescriptor.
Returns
true
if the specified MaskDescriptor is equal to the current MaskDescriptor; otherwise, false
.
Remarks
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.
Note
The Name property is not considered, because the MaskedTextProvider and MaskedTextBox classes do not use it.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈