'宣言 Public Shared Function GetInterface( _ ByVal type As System.Type, _ ByVal interfaceName As System.String, _ ByVal ignoreCase As System.Boolean _ ) As System.Type
'使用法 Dim type As System.Type Dim interfaceName As System.String Dim ignoreCase As System.Boolean Dim value As System.Type value = Utils.GetInterface(type, interfaceName, ignoreCase)
public static System.Type GetInterface( System.Type type, System.string interfaceName, System.bool ignoreCase )
パラメータ
- type
- Represents type declarations: class types, interface types, array types, value types, enumeration types, type parameters, generic type definitions, and open or closed constructed generic types.
- interfaceName
- The string containing the name of the interface to get. For generic interfaces, this is the mangled name.
- ignoreCase
- true to ignore the case of that part of name that specifies the simple interface name (the part that specifies the namespace must be correctly cased). -or- false to perform a case-sensitive search for all parts of name.
戻り値の型
An object representing the interface with the specified name, implemented or inherited by the current System.Type, if found; otherwise, null.