Edytuj

Udostępnij za pośrednictwem


TextEffectCollection.Remove(TextEffect) Method

Definition

Removes the specified TextEffect object from the collection.

public:
 virtual bool Remove(System::Windows::Media::TextEffect ^ value);
public bool Remove (System.Windows.Media.TextEffect value);
abstract member Remove : System.Windows.Media.TextEffect -> bool
override this.Remove : System.Windows.Media.TextEffect -> bool
Public Function Remove (value As TextEffect) As Boolean

Parameters

value
TextEffect

The TextEffect to remove from the collection.

Returns

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

Implements

Remarks

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.

Applies to