Maptitude GISDK Help |
Access a .NET object using a different .NET Interface type.
Added to Version 6.0/2012.
managedobject = ConvertManagedObjectType(managedobject object, string assemblyName, string typeName)
Argument |
Contents |
object |
The object for which you are trying to access with the specified interface |
assemblyName |
The name of the assembly that contains the interface type with which you want to access the object (for assemblies stored in the system's Global Assembly Cache), or the path to the assembly dll. |
typeName |
The fully qualified type name of the interface, including its namespace |
No options currently implemented.
A .NET Object of the specified interface type.
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.
Error Type |
Meaning |
Error |
The object could not be converted to the specified type |
NotFound |
The assembly could not be loaded or a type by that name could not be found within the assembly |
Function |
Summary |
Closes the window containing the .NET control |
|
Creates a new .NET control window |
|
Creates a new instance of a .NET Object |
|
Gets the .NET object in a .NET control window |
|
Gets an object representing the .NET class for calling static methods |
|
Sets the title of a .NET control window |
©2025 Caliper Corporation | www.caliper.com |