Array.IList.IsReadOnly 属性

定义

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

property bool System::Collections::IList::IsReadOnly { bool get(); };
bool System.Collections.IList.IsReadOnly { get; }
member this.System.Collections.IList.IsReadOnly : bool
 ReadOnly Property IsReadOnly As Boolean Implements IList.IsReadOnly

属性值

如果为只读,则 Array 为 true;否则为 false。

实现

注解

此成员是显式接口成员实现。 仅当实例强制转换为Array接口时IList,才能使用它。

适用于