Επεξεργασία

Κοινή χρήση μέσω


TypeDelegator.GetInterface(String, Boolean) Method

Definition

Returns the specified interface implemented by the type wrapped by the current TypeDelegator.

public:
 override Type ^ GetInterface(System::String ^ name, bool ignoreCase);
public override Type? GetInterface (string name, bool ignoreCase);
public override Type GetInterface (string name, bool ignoreCase);
override this.GetInterface : string * bool -> Type
Public Overrides Function GetInterface (name As String, ignoreCase As Boolean) As Type

Parameters

name
String

The fully qualified name of the interface implemented by the current class.

ignoreCase
Boolean

true if the case is to be ignored; otherwise, false.

Returns

A Type object representing the interface implemented (directly or indirectly) by the current class with the fully qualified name matching the specified name. If no interface that matches name is found, null is returned.

Exceptions

The name parameter is null.

Applies to