TextEffectCollection.Remove Method (TextEffect)


Removes the specified TextEffect object from the collection.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public bool Remove(
	TextEffect value


Type: System.Windows.Media.TextEffect

The TextEffect to remove from the collection.

Return Value

Type: System.Boolean

true if value was removed fro the collection; otherwise, false.

The objects that follow the removed object are shifted to occupy the vacated position, and their index values are updated. If value is a null reference (Nothing in Visual Basic), the first null reference (Nothing in Visual Basic) entry is removed. Note that removing a null reference (Nothing in Visual Basic) entry is linear in the size of the collection.

.NET Framework
Available since 3.0
Return to top