Compartir a través de


ReadOnlyCollectionBuilder<T>.Remove Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

Namespace:  System.Runtime.CompilerServices
Assembly:  System.Core (in System.Core.dll)

Syntax

'Declaration
Public Function Remove ( _
    item As T _
) As Boolean
public bool Remove(
    T item
)

Parameters

Return Value

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

Implements

ICollection<T>.Remove(T)

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.