ItemCollection.PassesFilter(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 specified item belongs to this view.
public:
override bool PassesFilter(System::Object ^ item);
public override bool PassesFilter (object item);
override this.PassesFilter : obj -> bool
Public Overrides Function PassesFilter (item As Object) As Boolean
Parameters
- item
- Object
The object to test.
Returns
true
to indicate that the specified item belongs to this view or there is no filter set on this collection view; otherwise, false
.
Remarks
This method is typically used during collection-changed notifications to determine if the specified item belongs to this view.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.