語言

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

傳回

true若value從集合中移除;否則,。 false

實作

備註

跟隨被移除物件後的物件會被移位至空出的位置,並更新其索引值。 若 value 是 null 參考(Visual Basic 中的 Nothing),則第一個空參考(Nothing Visual Basic)條目會被移除。 請注意,移除空參考(Nothing 在 Visual Basic)中是線性大小的集合。

適用於