ContentLocatorGroup.Clone 方法

定義

建立這個 ContentLocatorGroup 的可修改深層複本。Creates a modifiable deep copy clone of this ContentLocatorGroup.

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

傳回

這個 ContentLocatorGroup 的可修改深層複本。A modifiable deep copy clone of this ContentLocatorGroup.

備註

這個Clone方法會建立凍結Freezable物件的可修改複本。This Clone method creates modifiable copies of frozen Freezable objects. 為了方便起見Clone , 請使用強型別實來遮蔽繼承的版本。For convenience, Clone shadows the inherited version with a strongly typed implementation. 如需詳細資訊,請參閱 Freezable.CloneFor more details, see Freezable.Clone.

false即使此ContentLocatorGroup來源IsFrozenContentLocatorGroup屬性為, 複製的屬性仍會是IsFrozentrue.The cloned ContentLocatorGroup's IsFrozen property will be false even if this source ContentLocatorGroup's IsFrozen property is true.

複製相依性屬性時Clone , 會複製資源參考和資料系結 (雖然它們可能無法再解析), 但不會複製動畫或目前的動畫值。When copying dependency properties, Clone copies resource references and data bindings (although they might no longer resolve) but does not copy not animations or current animation values.

適用於