Next Previous Up Top Contents Index

4.12 The OLE-AUTOMATION module

<constant-description>

Sealed concrete class

Summary

Describes a single constant-valued property of a dispinterface.

Superclasses

<object> 

Init-keywords

name:
A string name for the property. Required.

value:
The value of the property. Required.

type:
A C type, as for <variable-description> above. The default value is derived from the Dylan class of the value.

documentation:
An optional string describing the property.

help-context:
The position in the WinHelp file (from help-file: in the <coclass-type-info> instance) where this property is documented. Optional.

disp-id:
An <integer> which is the DISPID by which the client will refer to the property. Usually you would not specify this, and the OLE-Automation library would automatically assign a DISPID. You do need to specify a DISPID when implementing a stock property. For example:
                  make(<constant-description>, 
                       name: "Value", 
                       disp-id: $DISPID-VALUE ...) 

Description

Describes a single constant-valued property of a dispinterface.


OLE, COM, ActiveX and DBMS Reference - 31 MAR 2000

Next Previous Up Top Contents Index