GenericTypeParameterBuilder.GetInterface(String, Boolean) Method     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Not supported for incomplete generic type parameters.
public:
 override Type ^ GetInterface(System::String ^ name, bool ignoreCase);
	[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.Interfaces)]
public override Type GetInterface(string name, bool ignoreCase);
	public override Type GetInterface(string name, bool ignoreCase);
	[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.Interfaces)>]
override this.GetInterface : string * bool -> Type
	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.
- Attributes
 
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.