TableCellCollection.Remove Method (TableCell)

 

Removes a specified item from the collection.

Namespace:   System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

public bool Remove(
	TableCell item
)

Parameters

item
Type: System.Windows.Documents.TableCell

An item to remove from the collection.

Return Value

Type: System.Boolean

true if the specified item was found and removed; otherwise, false.

Exception Condition
ArgumentException

Raised if item is not present in the collection.

ArgumentNullException

Raised when item is null.

Indices for remaining collection items might be adjusted to reflect the removed collection item.

.NET Framework
Available since 3.0
Return to top
Show: