PathSegmentCollection.Add Method (PathSegment)
Adds a PathSegment to the end of the collection.
Assembly: PresentationCore (in PresentationCore.dll)
Because PathSegment objects derive from Freezable, they are copied when they are used. Therefore, you might not be able to later retrieve or remove the PathSegment you added to the collection using the original PathSegment object; the PathSegment in the collection is a copy of the original PathSegment and is considered a different PathSegment than the one you added.
Available since 3.0