Removes the first occurrence of a specific object from the ICollection<(Of <(<'T>)>)>.

Namespace: yWorks.Support
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

Syntax

C#
public bool Remove( T item )
Visual Basic
Public Function Remove ( _ item As T _ ) As Boolean

Parameters

item
Type: T
The object to remove from the ICollection<(Of <(<'T>)>)>.

Return Value

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

Implements

ICollection<(Of <(<'T>)>)>..::..Remove(T)

Exceptions

ExceptionCondition
System..::..NotSupportedExceptionThe ICollection<(Of <(<'T>)>)> is read-only.

See Also