EventSinkCollection.SetAt(UInt32, Object) 方法

定义

更新与给定 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)

参数

cookie
UInt32

指定事件的 cookie。

value
Object

将事件接收器设置为的值。

适用于