Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Private Property Item ( _
index As Integer _
) As Object Implements IList.Item
'使用
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.Item[
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;
}
JScript does not support explicit interface implementations.
Parameters
- index
Type: System.Int32
Property Value
Type: System.Object
Implements
Permissions
- 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