PointKeyFrameCollection.FreezeCore(Boolean) 方法

定義

將這個 PointKeyFrameCollection 執行個體設為唯讀,或判斷是否可以設為唯讀。

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

true 表示檢查這個執行個體是否可以凍結;false 表示凍結此執行個體。

傳回

Boolean

isChecking 為 true 時,如果這個執行個體可以設為唯讀,這個方法就會傳回 true;如果無法設為唯讀,則會傳回 falseisChecking 為 false 時,如果這個執行個體現在為唯讀,這個方法就會傳回 true;如果無法設為唯讀,並且具有副作用,即開始變更這個物件的凍結狀態,則傳回 false

適用於

另請參閱