Udostępnij za pośrednictwem


ControlCollection.Clear Method

Removes all items from the collection.

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

Usage

'Usage
Dim instance As ControlCollection

instance.Clear

Syntax

'Declaration
Public Sub Clear
public void Clear ()
public:
virtual void Clear () sealed
public final void Clear ()
public final function Clear ()

Exceptions

Exception type Condition
NotSupportedException

The ICollection is read-only.

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.