ModelStateDictionary.IsReadOnly 属性

定义

获取一个值,该值指示字典是否为只读。

public:
 property bool IsReadOnly { bool get(); };
public bool IsReadOnly { get; }
member this.IsReadOnly : bool
Public ReadOnly Property IsReadOnly As Boolean

属性值

true 如果字典为只读,则为 ;否则,为 false.

实现

适用于