Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Remove Method

PathSegmentCollection.Remove Method

Removes the first occurrence of the specified PathSegment from this PathSegmentCollection.

Namespace:  System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public bool Remove(
	PathSegment value
)

Parameters

value
Type: System.Windows.Media.PathSegment

The item to remove from this collection.

Return Value

Type: System.Boolean
true if the specified PathSegment is removed from the collection; otherwise, false.

Implements

ICollection<T>.Remove(T)

ExceptionCondition
NotSupportedException

The PathSegmentCollection is read-only.

- or -

The PathSegmentCollection has a fixed size.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft