DataConsumerGOBase.GetComponentTypes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the component types.
protected virtual Type[] GetComponentTypes();
abstract member GetComponentTypes : unit -> Type[]
override this.GetComponentTypes : unit -> Type[]
Protected Overridable Function GetComponentTypes () As Type()
Returns
List of component types.
Remarks
If your data consumer modifies components, particularly all components found of a certain type, then declaring them here will result in AddVariableKeyPathsForComponent(Component) to be called for each found component in this or is specified in child objects.
If you do not operate on components, then no need to override this method. Instead simply override InitializeDataConsumer() for one-time initialization and override AttachDataConsumer() for any setup that should occur each time your class is enabled, in which you should call AddKeyPathListener(String, IDataSource) for any key paths that you want the datasource to notify of any changes.