Editare

Partajați prin


ContentLocator.Clone Method

Definition

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.

Applies to