InputAssetCollection<T>.Remove Method
Removes the first occurrence of a specific object from the <see cref="T:System.Collections.Generic.ICollection`1" />.
Namespace: Microsoft.WindowsAzure.MediaServices.Client
Assembly: Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)
Syntax
'Declaration
Public Function Remove ( _
item As T _
) As Boolean
'Usage
Dim instance As InputAssetCollection
Dim item As T
Dim returnValue As Boolean
returnValue = instance.Remove(item)
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 object to remove from the <see cref="T:System.Collections.Generic.ICollection`1" />.
Return Value
Type: System.Boolean
true if item was successfully removed from the <see cref="T:System.Collections.Generic.ICollection`1" />; otherwise, false. This method also returns false if item is not found in the original <see cref="T:System.Collections.Generic.ICollection`1" />.
Implements
Exceptions
Exception | Condition |
---|---|
NotSupportedException | <see cref="T:System.Collections.Generic.ICollection`1" /> |