TaskProvider.TaskCollection.IList.Item Property

Gets or sets the task at the specified index.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

声明
Private Property Item ( _
    index As Integer _
) As Object Implements IList.Item
    Get
    Set
用法
Dim instance As TaskProvider..::..TaskCollection
Dim index As Integer
Dim value As Object

value = CType(instance, IList).Item(index)

CType(instance, IList).Item(index) = value
Object IList.this[
    int index
] { get; set; }
private:
virtual property Object^ Item[int index] {
    Object^ get (int index) sealed = IList::Item::get;
    void set (int index, Object^ value) sealed = IList::Item::set;
}
private abstract Item : Object with get, set
private override Item : Object with get, set
JScript does not support explicit interface implementations.

Parameters

Property Value

Type: System.Object
The specified task.

Implements

IList.Item[Int32]

.NET Framework Security

See Also

Reference

TaskProvider.TaskCollection Class

TaskProvider.TaskCollection Members

Microsoft.VisualStudio.Shell Namespace