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
- index
Type: System.Int32
The index of the task.
Property Value
Type: Microsoft.VisualStudio.Shell.Task
Task.
.NET Framework Security
- 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.
See Also
Reference
TaskProvider.TaskCollection Class