ArcFM Engine Developer Guide
CreateAppObjects Method


The type of the base class the found class should derive from.
Create the application objects that are derived from one of the framework classes: Command, CommandBar, MdiTabForm, or DockControl.
Syntax
'Declaration
 
Protected Shared Sub CreateAppObjects( _
   ByVal baseType As Type _
) 
'Usage
 
Dim baseType As Type
 
LayoutManager.CreateAppObjects(baseType)
protected static void CreateAppObjects( 
   Type baseType
)

Parameters

baseType
The type of the base class the found class should derive from.
Remarks
This method uses reflection to examine each of the types (classes) found in the main assembly for this application. As each type is obtained, it is checked to determine if it has the custom attribute specified by the attType parameter. If so, then if the baseType parameter is defined, the type is next checked to insure that it derives from the base type. If so, the an instance of the class is instantiated. The problem arises that maybe multiple instances of the class are required. This case currently is no longer supported.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

LayoutManager Class
LayoutManager Members

 

 


Send Comment