TextEffectCollection.Remove(TextEffect) 方法

定义

从集合中移除指定的 TextEffect 对象。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

参数

value
TextEffect

要从该集合中移除的 TextEffectThe TextEffect to remove from the collection.

返回

Boolean

如果从集合中移除了 value,则为 true;否则为 falsetrue 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. 如果 valuenull Nothing Visual Basic) 中 (引用,则 Nothing 将删除 Visual Basic) 项中 (的第一个 null 引用。If value is a null reference (Nothing in Visual Basic), the first null reference (Nothing in Visual Basic) entry is removed. 请注意, (Nothing 在 Visual Basic) 项中删除空引用会以集合大小为线性。Note that removing a null reference (Nothing in Visual Basic) entry is linear in the size of the collection.

适用于