Adds a PathFigure to the end of the collection.
Assembly: PresentationCore (in PresentationCore.dll)
Because PathFigure objects derive from Freezable, they are copied when they are used. Therefore, later, you might not be able to retrieve or remove the PathFigure you added to the collection using the original PathFigure object. The PathFigure in the collection is a copy of the original PathFigure and is considered a different PathFigure than the one you added.
This implementation throws an ArgumentException if you attempt to add a null (Nothing) reference.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)