ControlCollection.Item[] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Item[Int32] |
Gets or sets the control element at the specified index. |
Item[String] |
Gets the control element with the specified name. |
Item[Int32]
Gets or sets the control element at the specified index.
public:
property Microsoft::Uii::Common::ControlElement ^ default[int] { Microsoft::Uii::Common::ControlElement ^ get(int index); void set(int index, Microsoft::Uii::Common::ControlElement ^ value); };
public Microsoft.Uii.Common.ControlElement this[int index] { get; set; }
member this.Item(int) : Microsoft.Uii.Common.ControlElement with get, set
Default Public Property Item(index As Integer) As ControlElement
Parameters
- index
- Int32
Specifies the index.
Property Value
Implements
Applies to
Item[String]
Gets the control element with the specified name.
public:
property Microsoft::Uii::Common::ControlElement ^ default[System::String ^] { Microsoft::Uii::Common::ControlElement ^ get(System::String ^ name); };
public Microsoft.Uii.Common.ControlElement this[string name] { get; }
member this.Item(string) : Microsoft.Uii.Common.ControlElement
Default Public ReadOnly Property Item(name As String) As ControlElement
Parameters
- name
- String
Specifies the name.