次の方法で共有


IVsDataObjectStringMapEvents.OnStringMapChanged(IDataObject, String) Method

Definition

Provides special handling for string map changes

public:
 int OnStringMapChanged(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ pObject, System::String ^ szStringMapName);
public:
 int OnStringMapChanged(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ pObject, Platform::String ^ szStringMapName);
int OnStringMapChanged(Microsoft::VisualStudio::OLE::Interop::IDataObject const & pObject, std::wstring const & szStringMapName);
public int OnStringMapChanged (Microsoft.VisualStudio.OLE.Interop.IDataObject pObject, string szStringMapName);
abstract member OnStringMapChanged : Microsoft.VisualStudio.OLE.Interop.IDataObject * string -> int
Public Function OnStringMapChanged (pObject As IDataObject, szStringMapName As String) As Integer

Parameters

pObject
IDataObject

The IDataObject.

szStringMapName
String

The name of the string map.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to