PropertyFilterAttribute.Match(Object) Method

Definition

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.

C#
public override bool Match(object value);

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

Produkt Verzie
.NET Framework 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.0, 3.1, 5, 6, 7, 8, 9, 10