ContentLocator.Clone Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a modifiable deep copy clone of this ContentLocator.
public:
override System::Object ^ Clone();
public override object Clone ();
override this.Clone : unit -> obj
Public Overrides Function Clone () As Object
Returns
A modifiable deep copy clone of this ContentLocator.
Remarks
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.