OLECONTF enumeration

Indicates the type of objects to be enumerated.

Syntax


typedef enum tagOLECONTF { 
  OLECONTF_EMBEDDINGS     = 1,
  OLECONTF_LINKS          = 2,
  OLECONTF_OTHERS         = 4,
  OLECONTF_ONLYUSER       = 8,
  OLECONTF_ONLYIFRUNNING  = 16
} OLECONTF;

Constants

OLECONTF_EMBEDDINGS

Enumerates the embedded objects in the container.

OLECONTF_LINKS

Enumerates the linked objects in the container.

OLECONTF_OTHERS

Enumerates all objects in the container that are not OLE compound document objects (i.e., objects other than linked or embedded objects). Use this flag to enumerate the container's pseudo-objects.

OLECONTF_ONLYUSER

Enumerates only those objects the user is aware of. For example, hidden named-ranges in Microsoft Excel would not be enumerated using this value.

OLECONTF_ONLYIFRUNNING

Enumerates only those linked or embedded objects that are currently in the running state for this container.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

OleIdl.h

See also

IEnumUnknown
IOleContainer::EnumObjects
IVBGetControl::EnumControls

 

 

Community Additions

ADD
Show:
© 2014 Microsoft