Delen via


EventSinkCollection.Item Property

Gets or sets the specified cookie from the collection.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Default Property Item ( _
    cookie As UInteger _
) As Object
public Object this[
    uint cookie
] { get; set; }
public:
property Object^ default[unsigned int cookie] {
    Object^ get (unsigned int cookie);
    void set (unsigned int cookie, Object^ value);
}
member Item : 
        cookie:uint32 -> Object with get, set
JScript does not support indexed properties.

Parameters

  • cookie
    Type: UInt32

    The cookie to get.

Property Value

Type: Object
The cookie.

Remarks

This collection is 1-based.

.NET Framework Security

See Also

Reference

EventSinkCollection Class

Microsoft.VisualStudio.Shell Namespace