Description

Returns a McDataHandler for the given command properties.

Return Type

A McDataHandler object.   A McDataHandler reference to support the command.
Failure Returns Nothing..

Failure conditions:
* Given command properties do not identify a McDataHandler
* McDataHandler could not be created.
* Propogated failure from .SourceHandler, ItemByCommand(), ItemByCommandKey().

Syntax

object.GetHandler (eContentType, sContent, eCommand, sDisplayName, [pDataSourceCmd])

The GetHandler Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDataSources.
eContentTypeRequired. A mcDataSourceContent enumeration, as described in settings. ContentType to be found.
sContentRequired. A String value. Content to be found.
eCommandRequired. A mcDataUICommands enumeration, as described in settings. Command to be found.
sDisplayNameRequired. A String value. Localized Command to be found.
pDataSourceCmdOptional. A McDataSourceCommand object.

Settings

The settings for eContentType are:

ConstantValueDescription
 mcdatSC_UnInit0

Not Initialize - invalid state.

 mcdatSC_DBNode1

McDBNode Content

 mcdatSC_Object2

COM Object Content

 mcdatSC_File3

File Content

 mcdatSC_ClipboardData4

Clipboard / DataObject Content

The settings for eCommand are:

ConstantValueDescription
 mcdatnc_NotACommand0

Not Initialize - invalid state.

 mcdatnc_AddClipboard1
 Current
mcdatnc_StoreToNode        ' Save to a Database Node
 mcdatnc_AddDataObject2

Drop Special New - UI will Not show value but a value is required to enable.

 mcdatnc_AddFile3

Open Common Dialog prompt using DataSource's file extensions.

 mcdatnc_AddFolder4

Open (Browse) Folder shell dialog and recursive Add File with no prompting.

 mcdatnc_AddObject5

Add ACTIVEObject (McDataHandler.ObjectGetActive is required)

 mcdatnc_Import6

Many uniquely named Import commands are allowed

 mcdatnc_StoreToFile7

Save As Common Dialog prompt

 mcdatnc_ClipboardCopy8
Cop

Will Not show in UI; but a value is required to enable.

 mcdatnc_StoreToDataObject9
Dra

Will Not show in UI; but a value is required to enable.

 mcdatnc_GetActiveObject10

returns the activeobject for a registered command

 mcdatnc_Open100

Selection

 mcdatnc_ObjectToJournal101

Sets the Object's Related Node to be the ActiveDataNode.

 mcdatnc_StoreToFolder102

Open (Browse) Folder shell dialog and then recursive Add File with no prompting.

 mcdatnc_Custom103

Many uniquely named Custom commands are allowed.

 mcdatnc_Macro104

Many uniquely named Macro commands are allowed.

 mcdatnc_Export105

Many uniquely named Export commands are allowed.

 mcdatnc_GetValue1000

newer than IQbase1.0

Remarks

Provide a simplified method to retrieve the McDataHandler for a command.
The McDataHandler will be created when it does not already exist.