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
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.