LinkedElementCollection<T>.Remove Method

Removes the specified role from the collection.

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

Syntax

声明
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: System.Boolean
true if the role was found and deleted; false if the role was not found in the collection.

Implements

ICollection<T>.Remove(T)

.NET Framework Security

See Also

Reference

LinkedElementCollection<T> Class

Microsoft.VisualStudio.Modeling Namespace