Editar

Compartilhar via


ItemCollection.PassesFilter(Object) Method

Definition

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