Gets or sets the element at the specified index.
Syntax
Visual Basic (Declaration) | |
---|
<System.ComponentModel.BindableAttribute(Bindable=True, Direction=BindingDirection.OneWay)>
<System.ComponentModel.NotifyParentPropertyAttribute(True)>
<System.ComponentModel.DescriptionAttribute("Gets or sets the element at the specified index.")>
Public Default Property Item( _
ByVal index As System.Integer _
) As CustomPlaceHolder |
C# | |
---|
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.DescriptionAttribute("Gets or sets the element at the specified index.")]
public CustomPlaceHolder this[
System.int index
]; {get; set;} |
JScript | |
---|
System.ComponentModel.BindableAttribute(Bindable=, Direction=BindingDirection.OneWay)
System.ComponentModel.NotifyParentPropertyAttribute()
System.ComponentModel.DescriptionAttribute("Gets or sets the element at the specified index.")
public this[
index : System.int
] get,set : CustomPlaceHolder |
Managed Extensions for C++ | |
---|
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.DescriptionAttribute("Gets or sets the element at the specified index.")]
public: __property CustomPlaceHolder* get_Item System.int index
;
public: __property void set_Item System.int index,
CustomPlaceHolder* value
; |
C++/CLI | |
---|
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.DescriptionAttribute("Gets or sets the element at the specified index.")]
public:
property CustomPlaceHolder^ default [int] {
CustomPlaceHolder^ get(System.int index);
void set (System.int index, CustomPlaceHolder^ value);
} |
Parameters
- index
- The zero-based index of the entry to get or set.
Property Value
The
CustomPlaceHolder
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