PathSegmentCollection.Remove(PathSegment) 方法

定義

從這個 PathSegment 移除指定之 PathSegmentCollection 的第一個項目。

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

參數

value
PathSegment

要從這個集合中移除的項目。

傳回

Boolean

如果可以從集合中移除指定的 PathSegment 則為 true,否則為 false

實作

例外狀況

PathSegmentCollection 為唯讀。

-或- PathSegmentCollection 具有固定的大小。

適用於

另請參閱