Gets or sets the element at the specified index.
Syntax
Visual Basic (Declaration) | |
---|
Public Default Property Item( _
ByVal index As System.Integer _
) As DTName |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As DTNameCollection
Dim index As System.Integer
Dim value As DTName
instance.Item(index) = value
value = instance.Item(index) |
Delphi | |
---|
public this: : DTName;[
index: System.Integer
]; read-write |
JScript | |
---|
public this[
index : System.int
] get,set : DTName |
Managed Extensions for C++ | |
---|
public: __property DTName* get_Item System.int index
;
public: __property void set_Item System.int index,
DTName* value
; |
Parameters
- index
- The zero-based index of the entry to get or set.
Property Value
The
DTName
object at the specified index.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also