共用方式為


EventSinkCollection.Item Property

Gets or sets the specified cookie from the collection.

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

Syntax

'宣告
Public Default Property Item ( _
    cookie As UInteger _
) As Object
public Object this[
    uint cookie
] { get; set; }

Parameters

Property Value

Type: System.Object
The cookie.

Remarks

This collection is 1-based.

.NET Framework Security

See Also

Reference

EventSinkCollection Class

Microsoft.VisualStudio.Shell Namespace