IVsDataObjectStringMapManager::ReadStringMap Method (IDataObject^, String^, IVsStringMap^)

 

Reads the named string map from the specified data object.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

int ReadStringMap(
	IDataObject^ pObject,
	String^ szStringMapName,
	[OutAttribute] IVsStringMap^% ppStringMap
)

Parameters

pObject
Type: Microsoft.VisualStudio.OLE.Interop::IDataObject^

[in] An IDataObject that contains string maps.

szStringMapName
Type: System::String^

[in] The name of the string map to read.

ppStringMap
Type: Microsoft.VisualStudio.Shell.Interop::IVsStringMap^

[out] The IVsStringMap that was read.

Return Value

Type: System::Int32

Returns S_OK if the string map was read or E_VS_MAPMISSING (0x80042001) if the data object does not contain a string map with the given name.

Return to top
Show: