IEnumOleDocumentViews interface
Enumerates the views supported by a document object.
When to implement
Implement IEnumOleDocumentViews on enumerator objects associated with document objects that support more than one view of their data.
When to use
Use the IEnumOleDocumentViews interface to enumerate all the views supported by a document object. The usual procedure is to first call IOleDocument::EnumViews. If the document object supports only one view, EnumViews will obtain a pointer to that view. If the document object supports two or more views, EnumViews will obtain a pointer to IEnumOleDocumentViews. Using this pointer, the container can then ask the document object to enumerate the views it supports.
Members
The IEnumOleDocumentViews interface inherits from the IUnknown interface. IEnumOleDocumentViews also has these types of members:
Methods
The IEnumOleDocumentViews interface has these methods.
| Method | Description |
|---|---|
| Clone |
Creates a new enumerator that contains the same enumeration state as the current one. |
| Next |
Retrieves the specified number of items in the enumeration sequence. |
| Reset |
Resets the enumeration sequence to the beginning. |
| Skip |
Skips over the specified number of items in the enumeration sequence. |
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IEnumOleDocumentViews is defined as b722bcc8-4e68-101b-a2bc-00aa00404770 |