TypeLoaderGetType(String, Assembly, Boolean) Method
Searches for the type in the named assembly.
Namespace: Wolfram.NETLinkAssembly: Wolfram.NETLink (in Wolfram.NETLink.dll) Version: 2.0.0.0
public static Type GetType(
string typeName,
Assembly assembly,
bool throwOnError
)
Public Shared Function GetType (
typeName As String,
assembly As Assembly,
throwOnError As Boolean
) As Type
public:
static Type^ GetType(
String^ typeName,
Assembly^ assembly,
bool throwOnError
)
static member GetType :
typeName : string *
assembly : Assembly *
throwOnError : bool -> Type
- typeName String
- assembly Assembly
- throwOnError Boolean
Type
If throwOnError is true, it will always throw if the type cannot be found or other errors occur
(e.g., SecurityException, BadImageFormatException, etc.) Like Type.GetType(), it can still throw in unusual
circumstances even if throwOnError is false.