IVsDataObjectStringMapManager.ReadStringMap Method

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)

Syntax

'Declaration
Function ReadStringMap ( _
    pObject As IDataObject, _
    szStringMapName As String, _
    <OutAttribute> ByRef ppStringMap As IVsStringMap _
) As Integer
int ReadStringMap(
    IDataObject pObject,
    string szStringMapName,
    out IVsStringMap ppStringMap
)
int ReadStringMap(
    [InAttribute] IDataObject^ pObject, 
    [InAttribute] String^ szStringMapName, 
    [OutAttribute] IVsStringMap^% ppStringMap
)
abstract ReadStringMap : 
        pObject:IDataObject * 
        szStringMapName:string * 
        ppStringMap:IVsStringMap byref -> int
function ReadStringMap(
    pObject : IDataObject, 
    szStringMapName : String, 
    ppStringMap : IVsStringMap
) : int

Parameters

  • szStringMapName
    Type: String

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

Return Value

Type: 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.

.NET Framework Security

See Also

Reference

IVsDataObjectStringMapManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace