IXpsOMDictionary interface (xpsobjectmodel.h)

The dictionary is used by an XPS package to share resources.

Inheritance

The IXpsOMDictionary interface inherits from the IUnknown interface. IXpsOMDictionary also has these types of members:

Methods

The IXpsOMDictionary interface has these methods.

 
IXpsOMDictionary::Append

Appends an IXpsOMShareable interface along with its key to the end of the dictionary.
IXpsOMDictionary::Clone

Makes a deep copy of the interface. (IXpsOMDictionary.Clone)
IXpsOMDictionary::GetAt

Gets the IXpsOMShareable interface pointer and the key name string of the entry at a specified index in the dictionary.
IXpsOMDictionary::GetByKey

Gets the IXpsOMShareable interface pointer of the entry that contains the specified key.
IXpsOMDictionary::GetCount

Gets the number of entries in the dictionary.
IXpsOMDictionary::GetIndex

Gets the index of an IXpsOMShareable interface from the dictionary.
IXpsOMDictionary::GetOwner

Gets a pointer to the interface that contains the dictionary.
IXpsOMDictionary::InsertAt

Inserts an IXpsOMShareable interface at a specified location in the dictionary and sets the key to identify the interface.
IXpsOMDictionary::RemoveAt

Removes and releases the entry from a specified location in the dictionary.
IXpsOMDictionary::SetAt

Replaces the entry at a specified location in the dictionary.

Remarks

The interface pointers stored in a dictionary will usually point to interfaces, such as IXpsOMBrush and IXpsOMVisual, that are derived from the IXpsOMShareable interface. To determine the interface type, call the IXpsOMShareable::GetType method.

A dictionary cannot contain duplicate interface pointers.

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header xpsobjectmodel.h

See also

IXpsOMObjectFactory::CreateDictionary

IXpsOMShareable

Interfaces

XML Paper Specification