ThicknessKeyFrameCollection.FreezeCore(Boolean) ThicknessKeyFrameCollection.FreezeCore(Boolean) ThicknessKeyFrameCollection.FreezeCore(Boolean) ThicknessKeyFrameCollection.FreezeCore(Boolean) Method

定義

將這個 ThicknessKeyFrameCollection 執行個體設為唯讀,或判斷是否可以設為唯讀。Makes this instance of ThicknessKeyFrameCollection read-only or determines whether it can be made read-only.

protected:
 override bool FreezeCore(bool isChecking);
protected override bool FreezeCore (bool isChecking);
override this.FreezeCore : bool -> bool
Protected Overrides Function FreezeCore (isChecking As Boolean) As Boolean

參數

isChecking
Boolean Boolean Boolean Boolean

true 表示檢查這個執行個體是否可以凍結;false 表示凍結這個執行個體。true to check if this instance can be frozen; false to freeze this instance.

傳回

isChecking 為 true 時,如果這個執行個體可以設為唯讀,這個方法就會傳回 true;如果無法設為唯讀,則會傳回 falseIf isChecking is true, this method returns true if this instance can be made read-only, or false if it cannot be made read-only. isChecking 為 false 時,如果這個執行個體現在為唯讀,這個方法就會傳回 true;如果無法設為唯讀,並且具有副作用,即開始變更這個物件的凍結狀態,則傳回 falseIf isChecking is false, this method returns true if this instance is now read-only, or false if it cannot be made read-only, with the side effect of having begun to change the frozen status of this object.

適用於

另請參閱