Updates the event associated with the given cookie.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public Sub SetAt ( _
cookie As UInteger, _
value As Object _
)
'使用
Dim instance As EventSinkCollection
Dim cookie As UInteger
Dim value As Object
instance.SetAt(cookie, value)
public void SetAt(
uint cookie,
Object value
)
public:
void SetAt(
unsigned int cookie,
Object^ value
)
public function SetAt(
cookie : uint,
value : Object
)
Parameters
cookie
Type: System.UInt32A cookie specifying an event.
value
Type: System.ObjectThe value to which the event sink is set.
Permissions
- 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.