EventDescriptorCollection.IList.IsReadOnly 属性

定义

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

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

属性值

如果该集合为只读,则为 true;否则为 false

实现

注解

注意

HostProtectionAttribute应用于此类的属性具有以下Resources属性值:SynchronizationHostProtectionAttribute 不影响桌面应用程序(通常通过双击图标、键入命令或在浏览器中输入 URL 来启动这些应用程序)。 有关详细信息,请参阅 HostProtectionAttribute 类或SQL Server编程和主机保护属性

适用于