PropertyFilterAttribute.Match(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.
Returns a value that indicates whether the property filter options of the current PropertyFilterAttribute .NET Framework attribute match the property filter options of the provided object.
public:
override bool Match(System::Object ^ value);
public override bool Match (object value);
override this.Match : obj -> bool
Public Overrides Function Match (value As Object) As Boolean
Parameters
- value
- Object
The object to compare. This object is expected to be a PropertyFilterAttribute.
Returns
true
if a match exists; otherwise, false
.
Remarks
For attributes that store flags, which is true for PropertyFilterAttribute, a Match result may be different from an Equals result. For example, a filter of SetValues matches a filter of All, because All is a merge of all filter values.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om