TypeDelegator.GetInterface Method

Returns the specified interface implemented by the type wrapped by the current TypeDelegator.

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Public Overrides Function GetInterface ( _
	name As String, _
	ignoreCase As Boolean _
) As Type

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.Type
A 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.

ExceptionCondition
ArgumentNullException

The name parameter is Nothing.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: