Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Sets a callback function to be called when the string map changes.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function AdviseChanges ( _
pObject As IDataObject, _
pStringMapEvents As IVsDataObjectStringMapEvents, _
<OutAttribute> ByRef pdwCookie As UInteger _
) As Integer
'Usage
Dim instance As IVsDataObjectStringMapManager
Dim pObject As IDataObject
Dim pStringMapEvents As IVsDataObjectStringMapEvents
Dim pdwCookie As UInteger
Dim returnValue As Integer
returnValue = instance.AdviseChanges(pObject, _
pStringMapEvents, pdwCookie)
int AdviseChanges(
IDataObject pObject,
IVsDataObjectStringMapEvents pStringMapEvents,
out uint pdwCookie
)
int AdviseChanges(
[InAttribute] IDataObject^ pObject,
[InAttribute] IVsDataObjectStringMapEvents^ pStringMapEvents,
[OutAttribute] unsigned int% pdwCookie
)
abstract AdviseChanges :
pObject:IDataObject *
pStringMapEvents:IVsDataObjectStringMapEvents *
pdwCookie:uint32 byref -> int
function AdviseChanges(
pObject : IDataObject,
pStringMapEvents : IVsDataObjectStringMapEvents,
pdwCookie : uint
) : int
Parameters
- pObject
Type: Microsoft.VisualStudio.OLE.Interop.IDataObject
[in] An [IDataObject] that contains the string map.
- pStringMapEvents
Type: Microsoft.VisualStudio.Shell.Interop.IVsDataObjectStringMapEvents
[in] An [IVsDataObjectStringMapEvents] interface that will be called when the string map changes.
- pdwCookie
Type: System.UInt32%
[out] An unsigned integer that identifies the string map that changed.
Return Value
Type: System.Int32
Returns S_OK if the callback was successfully registered.
.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