ElementCollectionTRemove Method |
Removes the first occurrence of a specific object from the ICollectionT.
Namespace: SautinSoft.DocumentAssembly: SautinSoft.Document (in SautinSoft.Document.dll) Version: 2025.5.6
Syntaxpublic bool Remove(
T item
)
Public Function Remove (
item As T
) As Boolean
Parameters
- item T
- The object to remove from the ICollectionT.
Return Value
Booleantrue if item was successfully removed from the
ICollectionT;
otherwise, false. This method also returns false if item is not found in the original
ICollectionT.
Implements
ICollectionTRemove(T)
ExceptionsException | Condition |
---|
NotSupportedException | The ICollectionT is read-only. |
See Also