Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IStringTable interface

The IStringTable interface is introduced in MMC 1.1.

The IStringTable interface provides a way to store string data with the snap-in. A string table is created in the console file as required for each snap-in by MMC.

The IStringTable interface allows strings to be saved in the console file. Be aware that this interface is designed to work with specialized localization tools. Snap-ins without access to these localization tools will not benefit from using this interface.

When to implement

Do not implement this interface. It is implemented by MMC.

When to use

Use IStringTable when you require persistent storage for strings. The interface can be queried from the IConsole2 passed into IComponent::Initialize or IComponentData::Initialize during the component's creation.

Strings are stored by snap-in, not by view, so any IStringTable interface returned by MMC can be used for accessing the snap-in strings.

Members

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

Methods

The IStringTable interface has these methods.

MethodDescription
AddString

Adds a string to the snap-in string table.

DeleteAllStrings

Removes all string from the snap-in string table.

DeleteString

Removes a string from the snap-in string table.

Enumerate

Returns an enumerator into a snap-in string table.

FindString

Finds a string in the snap-in string table.

GetString

Retrieves a string from the snap-in string table.

GetStringLength

Retrieves the length of a string from the snap-in string table.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Mmc.h

DLL

Mmcndmgr.dll

 

 

Show: