Description
An Icon (thumbnail) representation of this McDBNode.
-
Property type
-
A Variant value.
-
Syntax
-
object.Icon([Index], [Format]) [= value]
The Icon Property syntax has these parts: |
| object | An expression evaluating to an object of type McDBNode. | | Index | Optional. A mcDBIconType enumeration, as described in settings. The index/style of the icon to assign/retrieve.
| | Format | Optional. A mcDBDataStyle enumeration, as described in settings. The format the object encapsulating the Icon is to be returned in. This parameter is ignored when assigning to this property. If an inapplicable value from this parameter is passed, mcdbActualObject is assumed.
| | value | A Variant value. | Settings The settings for Index are:
 | mcdbSmallIcon | 0 | |
 | mcdbLargeIcon | 1 | |
 | mcdbExpandedIcon | 2 | |
 | mcdbSelectedIcon | 3 | |
The settings for Format are:
 | mcdbNoData | 0 | |
 | mcdbDefaultStyle | 1 | |
 | mcdbStringData | 1 |
value as a string
|
 | mcdbStorage | 2 |
returned object implements IStream
|
 | mcdbStream | 3 |
returned object implements IStorage
|
 | mcdbBytes | 4 |
raw byte stream of object
|
 | mcdbProgId | 5 |
the ProgID of the stored object
|
 | mcdbLongData | 6 |
value as a Long (for mcdbEnum attributes only)
|
 | mcdbGlobalID | 7 |
A database-global identifier of the object
|
 | mcdbActualObject | 16 |
An IDispatch to the object, can be Ored with mcdbStorage and mcdbStream
|
Remarks
McDBNode objects are associated with zero or more Icon thumbnails, which may be retrieved or set, by Index, using this property. If an McDBNode instance does not have a requested Icon, its McDBType.Icon at the same Index is returned. This inheritance/sharing of icons, allow centralization of the binary data representing the Icon and simplifies administration of multiple similar McDBNode instances. Existing icons may be cleared by assigning an Empty variant to Icon(Index).
|