Compartilhar via


EventSinkCollection.SetAt Method

Updates the event associated with the given cookie.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.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: UInt32

    A cookie specifying an event.

  • value
    Type: Object

    The value to which the event sink is set.

.NET Framework Security

See Also

Reference

EventSinkCollection Class

Microsoft.VisualStudio.Shell Namespace