Redigera

Dela via


GenericTypeParameterBuilder.GetInterface(String, Boolean) Method

Definition

Not supported for incomplete generic type parameters.

public:
 override Type ^ GetInterface(System::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 name of the interface.

ignoreCase
Boolean

true to search without regard for case; false to make a case-sensitive search.

Returns

Not supported for incomplete generic type parameters.

Exceptions

In all cases.

Remarks

This method is not supported for incomplete generic type parameters. Retrieve the type parameter from the completed generic type definition and then use reflection on the retrieved type.

Applies to