Partager via


ControlCollection.Remove Method (ControlElement)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Removes the first occurrence of a specific object from the ICollection<T>.

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

Syntax

public bool Remove(
    ControlElement item
)
Public Function Remove (
    item As ControlElement
) As Boolean

Parameters

Return Value

Type: System.Boolean

true if item was successfully removed from the ICollection<T> ; otherwise, false. This method also returns false if item is not found in the original ICollection<T>.

Implements

ICollection<T>.Remove(T)

Exceptions

Exception Condition
NotSupportedException

The ICollection<T> is read-only.

See Also

ControlCollection Class
Microsoft.Uii.Common Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright