GenericTypeParameterBuilder.GetInterface(String, Boolean) GenericTypeParameterBuilder.GetInterface(String, Boolean) GenericTypeParameterBuilder.GetInterface(String, Boolean) GenericTypeParameterBuilder.GetInterface(String, Boolean) Method

定义

对于不完整的泛型类型参数不支持。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

参数

name
String String String String

接口的名称。The name of the interface.

ignoreCase
Boolean Boolean Boolean Boolean

如果为 true,则搜索时不考虑大小写;如果为 false,则搜索时区分大小写。true to search without regard for case; false to make a case-sensitive search.

返回

对于不完整的泛型类型参数不支持。Not supported for incomplete generic type parameters.

异常

注解

不完整的泛型类型参数不支持此方法。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.

适用于