MatrixKeyFrameCollection.FreezeCore(Boolean) 方法

定义

使 MatrixKeyFrameCollection 的此实例成为不可修改的,或确定是否可使其成为不可修改的。Makes this instance of MatrixKeyFrameCollection unmodifiable or determines whether it can be made unmodifiable.

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

如果此方法只能确定此实例是否可以冻结,则为 truetrue if this method should simply determine whether this instance can be frozen. 如果此实例在此方法被调用时实际上会冻结自身,则为 falsefalse if this instance should actually freeze itself when this method is called.

返回

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.

适用于

另请参阅