EventSinkCollection.SetAt Method
Updates the event associated with the given cookie.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Public Sub SetAt ( _
cookie As UInteger, _
value As Object _
)
public void SetAt(
uint cookie,
Object value
)
Parameters
- cookie
Type: System.UInt32
A cookie specifying an event.
- value
Type: System.Object
The value to which the event sink is set.
.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.