다음을 통해 공유


TaskProvider.TaskCollection.Item Property

Gets or sets the task at the given 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

‘선언
Public Default Property Item ( _
    index As Integer _
) As Task
    Get
    Set
‘사용 방법
Dim instance As TaskProvider..::..TaskCollection
Dim index As Integer
Dim value As Task

value = instance(index)

instance(index) = value
public Task this[
    int index
] { get; set; }
public:
property Task^ default[int index] {
    Task^ get (int index);
    void set (int index, Task^ value);
}
member Item : Task with get, set
JScript does not support indexed properties.

Parameters

Property Value

Type: Microsoft.VisualStudio.Shell.Task
Task.

.NET Framework Security

See Also

Reference

TaskProvider.TaskCollection Class

TaskProvider.TaskCollection Members

Microsoft.VisualStudio.Shell Namespace