Export (0) Print
Expand All

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