Description

Registers the association between a McDataHandler server and the data it supports.

Object Model



Remarks

More than one handler may exist for a database type. it will be qualified by the command.
A McDataSource will persist and recreate the McDataHandler object when a ProgIDOrModuleName is given.
Also, command labels are supplied for use of the database GUI.
Examples of operations supported are as follows:
Data Objects: Store, Open
Files: File Open, Add File, Save As File, Save (filelink content), Open (filelink content)
Export Files: Save As File
Clipboard/Drag and Drop: Copy, Drag, Cut, Drop, Paste
Importable Clipboard Formats: Paste, Drop

Notes
A McDataSource is persistent using the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Media Cybernetics\IQApp 1.0\Addins\
McAddInData.McDataManager\DataSources\
A persistent McDataSource is read and written to the registry when the DataManager is Loaded and Unloaded.

Non-Persistent Object Handler can be

PROGID McAddInData.McDataSource
ObjectFlags NonCreatable

Members

Methods
AddCommand Adds a command to the McDataSource.
AddCommandSorted Adds a command to the server registered by this object.

Properties
ApplicationRead-only property The Root of the Application Object Model.
CommandsRead-only property Returns a collection of all McDataSourceCommand instances for this McDataSource.
IsPersistentRead-only property Returns whether the DataSource will persist when the application is reloaded.
LocalizedContextRead-only property Returns the IQApp.McApplication::Localized() Module Context.
MacroProjectRead-only property Value is True when the McDataHandler is implemented in a VBA class.
OptionsRead-write property
ParentRead-only property The McDataSources collection object that created this instance.
ProgIDOrModuleNameRead-only property The Programmatic ID of the McDataHandler Server or module name in a VBA Project
ServerFileRead-only property The Name of the file to be used a the McDataHandler server.
SourceHandlerRead-only property Returns the DataSource's Object Handler.
SourceHandlerExistsRead-write property Sets or returns the creation state of the McDataHandler registered by this object.