TypeDelegator.GetInterface Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns the specified interface implemented by the type wrapped by the current TypeDelegator.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- name
- Type: System.String
The fully qualified name of the interface implemented by the current class.
- ignoreCase
- Type: System.Boolean
true if the case is to be ignored; otherwise, false.
Return Value
Type: System.TypeA 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.
| Exception | Condition |
|---|---|
| ArgumentNullException | The name parameter is null. |
Show: