Maptitude GISDK Help |
Gets a reference to a .NET Type in order to access static properties and methods.
Added to Version 6.0/2012.
managedobject = GetManagedClass(string assemblyName, string typeName [, array options])
Argument |
Contents |
assemblyName |
The name of the assembly that contains the type for which you are creating an object (for assemblies stored in the system's Global Assembly Cache), or the path to the assembly dll |
typeName |
The fully qualified type name, including its namespace |
No options currently implemented.
A .NET Object which represents the type and that can be used for calling static properties and methods.
A null value can be provided for the assemblyName parameter if the type is found in mscorlib.dll.
For more information on .NET objects, see Accessing .NET Objects.
dateTimeClass = GetManagedClass(null, "System.DateTime")
currentTime = dateTimeClass.Now
Error Type |
Meaning |
NotFound |
Unable to create the object |
Function |
Summary |
Closes the window containing the .NET control |
|
Access a .NET object using a different interface type |
|
Creates a new .NET control window |
|
Creates a new instance of a .NET Object |
|
Gets the .NET object in a .NET control window |
|
Sets the title of a .NET control window |
©2025 Caliper Corporation | www.caliper.com |