FlexReport for WinForms
GetInterface メソッド (Utils)


C1.Document.4.6.2 アセンブリ > C1.Document 名前空間 > Utils クラス : GetInterface メソッド
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.
The string containing the name of the interface to get. For generic interfaces, this is the mangled name.
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.
Searches for the specified interface, specifying whether to do a case-insensitive search for the interface name.
シンタックス
'宣言
 
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.
参照

参照

Utils クラス
Utils メンバ