共用方式為


IVsDataObjectStringMapManager2 Interface

Definition

Enables storage of name/value pairs in an IDataObject. Multiple string maps with different names can exist in a single data object.

public interface class IVsDataObjectStringMapManager2 : Microsoft::VisualStudio::Shell::Interop::IVsDataObjectStringMapManager
public interface class IVsDataObjectStringMapManager2 : Microsoft::VisualStudio::Shell::Interop::IVsDataObjectStringMapManager
__interface IVsDataObjectStringMapManager2 : Microsoft::VisualStudio::Shell::Interop::IVsDataObjectStringMapManager
[System.Runtime.InteropServices.Guid("65CA3EC7-633E-4846-9946-17A80FF4C34C")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsDataObjectStringMapManager2 : Microsoft.VisualStudio.Shell.Interop.IVsDataObjectStringMapManager
[<System.Runtime.InteropServices.Guid("65CA3EC7-633E-4846-9946-17A80FF4C34C")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsDataObjectStringMapManager2 = interface
    interface IVsDataObjectStringMapManager
Public Interface IVsDataObjectStringMapManager2
Implements IVsDataObjectStringMapManager
Attributes
Implements

Methods

AdviseChanges(IDataObject, IVsDataObjectStringMapEvents, UInt32)

Registers a listener for the event fired when the string map changes.

ClearMapCache(String)

Clears cached string map data for all data objects with the specified string map name.

CreateStringMap(IVsStringMap)

Creates a new string map.

ReadStringMap(IDataObject, String, IVsStringMap)

Reads a string map.

UnadviseChanges(UInt32)

Removes the listener.

WriteStringMap(IDataObject, String, Int32, IVsStringMap)

Writes information to a string map.

Applies to