Menu.MenuItemCollection.IsReadOnly 属性

定义

获取一个值,该值指示集合是否为只读。Gets a value indicating whether the collection is read-only.

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

属性值

Boolean

如果该集合为只读,则为 true;否则为 falsetrue if the collection is read-only; otherwise, false. 默认值为 falseThe default is false.

实现

适用于