共用方式為


CMapStringToString::CPair

Contains a key value and the value of the associated string object.

Remarks

This is a nested structure within class CMapStringToString.

The structure is composed of two fields:

  • **key   **The actual value of the key type.

  • **value   **The value of the associated object.

It is used to store the return values from CMapStringToString::PLookup, CMapStringToString::PGetFirstAssoc, and CMapStringToString::PGetNextAssoc.

Example

For an example of usage, see the example for CMapStringToString::PLookup.

Requirements

Header: afxcoll.h

See Also

Reference

CMapStringToString Class

Hierarchy Chart