Removes the specified role from the collection.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'Declaration
Public Function Remove ( _
item As T _
) As Boolean
'Usage
Dim instance As LinkedElementCollection
Dim item As T
Dim returnValue As Boolean
returnValue = instance.Remove(item)
public bool Remove(
T item
)
public:
virtual bool Remove(
T item
) sealed
public final function Remove(
item : T
) : boolean
Parameters
item
Type: TThe 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.
See Also
Reference
LinkedElementCollection<T> Class