Udostępnij za pośrednictwem


EventSinkCollection.SetAt(UInt32, Object) Method

Definition

Updates the event associated with the given cookie.

public:
 void SetAt(System::UInt32 cookie, System::Object ^ value);
public:
 void SetAt(unsigned int cookie, Platform::Object ^ value);
void SetAt(unsigned int cookie, winrt::Windows::Foundation::IInspectable const & value);
public void SetAt (uint cookie, object value);
member this.SetAt : uint32 * obj -> unit
Public Sub SetAt (cookie As UInteger, value As Object)

Parameters

cookie
UInt32

A cookie specifying an event.

value
Object

The value to which the event sink is set.

Applies to