Editare

Partajați prin


_Type.FindInterfaces(TypeFilter, Object) Method

Definition

Provides COM objects with version-independent access to the FindInterfaces(TypeFilter, Object) method.

public:
 cli::array <Type ^> ^ FindInterfaces(System::Reflection::TypeFilter ^ filter, System::Object ^ filterCriteria);
public Type[] FindInterfaces (System.Reflection.TypeFilter filter, object filterCriteria);
abstract member FindInterfaces : System.Reflection.TypeFilter * obj -> Type[]
Public Function FindInterfaces (filter As TypeFilter, filterCriteria As Object) As Type()

Parameters

filter
TypeFilter

The TypeFilter delegate that compares the interfaces against filterCriteria.

filterCriteria
Object

The search criteria that determines whether an interface should be included in the returned array.

Returns

Type[]

An array of Type objects representing a filtered list of the interfaces implemented or inherited by the current Type.

-or-

An empty array of type Type, if no interfaces matching the filter are implemented or inherited by the current Type.

Remarks

This method is for access to managed classes from unmanaged code, and should not be called from managed code.

The Type.FindInterfaces method returns an array of Type objects representing a filtered list of interfaces implemented or inherited by the current Type.

Applies to