RelationalPropertyAnnotations.SetFixedLength(Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將屬性配置為僅能儲存固定長度的資料,例如字串。
protected virtual bool SetFixedLength(bool fixedLength);
abstract member SetFixedLength : bool -> bool
override this.SetFixedLength : bool -> bool
Protected Overridable Function SetFixedLength (fixedLength As Boolean) As Boolean
參數
- fixedLength
- Boolean
一個表示該性質是否受限於固定長度值的值。
傳回
True 如果可以設定 該值; false 否則,