Description

Contains a McDataNodeRefs (Collection of McDataNodeRef instances and a Current McDataNodeRef) along with methods to perform operations on it.

Object Model



Remarks

The Current is usually the target or parent of the operation and the selection would be used as a source.
Event notifications are transmitted through the Parent object (McDataManager).
This Object may be created using the McDataManager.CreateDataNodes function.

PROGID McAddInData.McDataNodes
ObjectFlags NonCreatable

Members

Methods
AddDataObject Adds the object(s) exposed in a DataObject to the Current.
AddFile Adds file content to the Current.
AddFileFolder Adds a file system content hierarchy to the Current.
AddFilePromptFilter Prompts the user for file paths to add to the Current using the common dialog open dialog.
AddFolder Adds a new database folder to the Current Mcdbnode.
AddNew Adds a new McDBNode to the Children collection of the Current.
AddObject Adds Object content to the Current.
AddToNode Adds Selection nodes to a specified Database Node's Children Collection.
Clear Clears this object's Selection and the Current.
ClipboardData Load the clipboard with data from this object.
ClipboardSetData Load the clipboard with data from this object.
Copy Set the contents of the McDataNodes (Me) to another copy of a McDataNodes.
DataObjectData Returns a byte array with the data for a given clipboard format of a dataobject
DataObjectGetFormats Returns the clipboard formats of supported for a DataObject for the selection.
DataObjectSetData Fills the DataObject with the data of the selection.
Delete Deletes the McDBNode instances referenced by the Selection from all McDBNode Referencers/Parents.
Export Perform a registered Export command on the Selection.
Import Modifies the Current from an external source of data.
IsCurrentSelected Returns True when the Current is also in the Selection.
MakeQuery Performs a query on the Current and adds the resultant nodes into a folder in the journal
Move Adds the selected nodes to a new parent and removes their references from the old parents.
NodeOpen Performs an Open/Edits command on all objects in the Selection.
OpenEx Open/Edits specified McDBNode(s).
RefreshClients Instructs a connected sink client to refresh its content.
Remove Removes the McDBNode instances referenced by the Selection from the McDBNode Referencers/Parent identified in the McDataNodeRef.Path.
Rename Renames the Current
ReParent Changes the primary parent of a Current to another one of its parents.
RunCustomCommand Runs a generic command on the selection.
RunMacro Runs a macro on the selection.
SaveAsFile Saves the Current to a file in it native format.
SaveToFolder Saves the Selection to files created in the specified filesystem folder.
SetAttribute Set the value of an attribute on the Selection or the Current.
Size Returns the sum of the storage used (in bytes) by McDBNode references stored in the Selection.

Properties
ApplicationRead-only property The Root of the Application Object Model.
ClipboardFormatNameRead-only property Returns the clipboard format name for McDataNodes.
ClipboardFormatNumberRead-only property The registered clipboard format number for McDataNodes.
CurrentRead-only property Returns the Cursor or current McDataNodeRef which may or may not be in the selection.
FileStorageMethodRead-only propertyThe FileStorageMethod for the Current.
FileStoragePathRead-only property The FileStoragePath for the Current.
NameRead-only property The Name given to this instance.
NotificationsRead-write property Stores the enable state of the individual event notifications.
ParentRead-only property The Object that created this instance.
SelectionRead-only property Returns a collection of McDataNodeRefs identifying the chosen McDBNodes.

Events
CurrentChanged The Current now identifies a new McDBNode.
OnRefreshClients Request to refresh content related to the McDataNodes instance.
SelectionChanged The Selection has changed (Added, Removed or McDBNode reference changed).