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
- index
Type: System.Int32
The index of the collection.
Property Value
Type: System.Object
The specified task.
Implements
.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