Returns the interface implemented (directly or indirectly) by this class with the fully-qualified name matching the given interface name.
[Visual Basic] Overrides Public Function GetInterface( _ ByVal name As String, _ ByVal ignoreCase As Boolean _ ) As Type [C#] public override Type GetInterface( string name, bool ignoreCase ); [C++] public: override Type* GetInterface( String* name, bool ignoreCase ); [JScript] public override function GetInterface( name : String, ignoreCase : Boolean ) : Type;
Returns a Type object representing the implemented interface. Returns null if no interface matching name is found.
Exception Type | Condition |
---|---|
NotSupportedException | This method is not implemented. |
This method is not currently supported. As a workaround, retrieve the type using Type.GetType or Assembly.GetType and use reflection on the retrieved type.
EnumBuilder Class | EnumBuilder Members | System.Reflection.Emit Namespace