ContentLocator.Clone ContentLocator.Clone ContentLocator.Clone ContentLocator.Clone Method


Creates a modifiable deep copy clone of this ContentLocator.

 override System::Object ^ Clone();
public override object Clone ();
override this.Clone : unit -> obj
Public Overrides Function Clone () As Object


A modifiable deep copy clone of this ContentLocator.


This Clone method creates modifiable copies of frozen Freezable objects. For convenience, Clone shadows the inherited version with a strongly typed implementation. For more details, see Freezable.Clone.

The cloned ContentLocator's IsFrozen property will be false even if this source ContentLocator's IsFrozen property was true.

When copying dependency properties, Clone copies resource references and data bindings (although they might no longer resolve) but does not copy not animations or the current animation values.

Applies to