LinkedElementCollection<T>.Remove Method

Removes the specified role from the collection.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
Public Function Remove ( _
    item As T _
) As Boolean
public bool Remove(
    T item
)
public:
virtual bool Remove(
    T item
) sealed
abstract Remove : 
        item:'T -> bool  
override Remove : 
        item:'T -> bool
public final function Remove(
    item : T
) : boolean

Parameters

  • item
    Type: T

    The role to remove.

Return Value

Type: Boolean
true if the role was found and deleted; false if the role was not found in the collection.

Implements

ICollection.Remove(UTP)

.NET Framework Security

See Also

Reference

LinkedElementCollection<T> Class

Microsoft.VisualStudio.Modeling Namespace