GenericTypeParameterBuilder.GetInterface(String, Boolean) 方法

定義

不支援不完整的泛型型別參數。

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

介面的名稱。

ignoreCase
Boolean

true 表示搜尋時不必考慮大小寫;false 表示進行區分大小寫的搜尋。

傳回

不支援不完整的泛型型別參數。

例外狀況

在所有情況下。

備註

這個方法不支援不完整的泛型型別參數。 從已完成的泛型型別定義擷取型別參數,然後在擷取的類型上使用反映。

適用於