Udostępnij za pośrednictwem


ControlCollection.Item Property

Gets or sets the control element at the specified index.

Namespace: Microsoft.Uii.Common
Assembly: Microsoft.Uii.Common (in Microsoft.Uii.Common.dll)

Usage

'Usage
Dim instance As ControlCollection
Dim index As Integer
Dim value As ControlElement

value = instance(index)

instance(index) = value

Syntax

'Declaration
Public Default Property Item ( _
    index As Integer _
) As ControlElement
public ControlElement this [
    int index
] { get; set; }
public:
virtual property ControlElement^ default [int] {
    ControlElement^ get (int index) sealed;
    void set (int index, ControlElement^ value) sealed;
}
/** @property */
public final ControlElement get_Item (int index)

/** @property */
public final void set_Item (int index, ControlElement value)

Parameters

  • index
    Specifies the index.

Property Value

Type:ControlElement.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

ControlCollection Class
ControlCollection Members
Microsoft.Uii.Common Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.