IVsDataObjectStringMapManager::WriteStringMap Method (IDataObject^, String^, Int32, IVsStringMap^)
Visual Studio 2015
Writes information to a string map.
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
int WriteStringMap( IDataObject^ pObject, String^ szStringMapName, int fOverwriteExisting, IVsStringMap^ pStringMap )
Parameters
- pObject
-
Type:
Microsoft.VisualStudio.OLE.Interop::IDataObject^
[in] An IDataObject that contains the string maps.
- szStringMapName
-
Type:
System::String^
[in] The name of the string map to write.
- fOverwriteExisting
-
Type:
System::Int32
[in] Set to true if the new information should overwrite existing information.
- pStringMap
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsStringMap^
[in] An IVsStringMap interface that represents the strings to write.
Return Value
Type: System::Int32Returns S_OK if the strings were written or E_ACCESSDENIED if fOverwriteExisting is false and the data object already contains a map by this name.
The interface passed in pObject must support SetData for storage medium type TYMED_HGLOBAL, NULL target device, and aspect DVASPECT_CONTENT.
Show: