GPCore - The Gibphone API

PluginManager.CreateInstance Method 

Creates an Instance of the typeName

[Visual Basic]
Public Function CreateInstance( _
   ByVal String As String, _
   ByVal BindingFlags As BindingFlags, _
   ByVal Object[] As Object() _
) As Object
[C#]
public object CreateInstance(
   String typeName,
   BindingFlags bindingFlags,
   Object[] constructorParams
);

Parameters

typeName
The FullName of the type to be created
bindingFlags
Any BindingFlags to create this object
constructorParams
Any Paramaters that the constructor requires

Return Value

A new instance of the class

See Also

PluginManager Class | GPCore Namespace