IVsDataObjectStringMapManager.ReadStringMap Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Déclaration
Function ReadStringMap ( _
pObject As IDataObject, _
szStringMapName As String, _
<OutAttribute> ByRef ppStringMap As IVsStringMap _
) As Integer
'Utilisation
Dim instance As IVsDataObjectStringMapManager
Dim pObject As IDataObject
Dim szStringMapName As String
Dim ppStringMap As IVsStringMap
Dim returnValue As Integer
returnValue = instance.ReadStringMap(pObject, _
szStringMapName, ppStringMap)
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
- pObject
Type: Microsoft.VisualStudio.OLE.Interop.IDataObject
[in] An [IDataObject] containing string maps.
- szStringMapName
Type: System.String
[in] The name of the string map to read.
- ppStringMap
Type: Microsoft.VisualStudio.Shell.Interop.IVsStringMap%
[out] Pointer to an [IVsStringMap] interface where the string map that was read.
Return Value
Type: System.Int32
Returns S_OK if the string map was read or E_VS_MAPMISSING if the data object does not contain a string map with the given name.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsDataObjectStringMapManager Interface