.NET/Link API Version 1.7 USE FRAMES

TypeLoader.GetType Method (String, String, Boolean)

Searches for the type in the named assembly.

[Visual Basic]
Overloads Public Shared Function GetType( _
   ByVal typeName As String, _
   ByVal assemblyName As String, _
   ByVal throwOnError As Boolean _
) As Type
[C#]
public static Type GetType(
   string typeName,
   string assemblyName,
   bool throwOnError
);

Parameters

typeName
assemblyName
throwOnError

Remarks

The assembly will be loaded if necessary (the assemblyName argument must include enough information for a load to succeed based on the name alone). See the LoadAssembly method in this class for details on what forms the assemblyName argument can take. 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.

See Also

TypeLoader Class | Wolfram.NETLink Namespace | TypeLoader.GetType Overload List