EventSinkCollection.SetAt Method
Updates the event associated with the given cookie.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Sub SetAt ( _
cookie As UInteger, _
value As Object _
)
public void SetAt(
uint cookie,
Object value
)
public:
void SetAt(
unsigned int cookie,
Object^ value
)
member SetAt :
cookie:uint32 *
value:Object -> unit
public function SetAt(
cookie : uint,
value : Object
)
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.