TextEffectCollection.Remove(TextEffect) 方法

定義

從集合中移除指定的 TextEffect 物件。

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

要從集合中移除的 TextEffect

傳回

Boolean

如果已從集合中移除 value 則為 true,否則為 false

實作

備註

在移除物件後面的物件會移位以佔用空置的位置,並更新其索引值。 如果 value 是 Visual Basic) 中的參考 (Nothing ,則會移除Visual Basic) 專案中的第一個 null null 參考 (Nothing 。 請注意,在Visual Basic) 專案中移除 null 參考 (Nothing ,在集合的大小中是線性的。

適用於