ByteKeyFrameCollection.FreezeCore(Boolean) 方法

定义

使 ByteKeyFrameCollection 的此实例成为只读,或确定是否可使其成为只读。Makes this instance of ByteKeyFrameCollection 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

如果此方法只能确定此实例是否可以冻结,则为 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,而在其他情况下返回 false,并且其副作用是已开始更改该对象的冻结状态。If 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.

适用于