EventDescriptorCollection.IList.Remove(Object) 方法

定义

从集合中移除特定对象的第一个匹配项。Removes the first occurrence of a specific object from the collection.

 virtual void System.Collections.IList.Remove(System::Object ^ value) = System::Collections::IList::Remove;
void IList.Remove (object value);
abstract member System.Collections.IList.Remove : obj -> unit
override this.System.Collections.IList.Remove : obj -> unit
Sub Remove (value As Object) Implements IList.Remove

参数

value
Object

要从该集合中移除的 ObjectThe Object to remove from the collection.

实现

例外

该集合是只读的。The collection is read-only.

注解

备注

HostProtectionAttribute应用于此类的特性具有以下 Resources 属性值: SynchronizationThe HostProtectionAttribute attribute applied to this class has the following Resources property value: Synchronization. HostProtectionAttribute 不影响桌面应用程序(通常通过双击图标、键入命令或在浏览器中输入 URL 来启动这些应用程序)。The HostProtectionAttribute does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). 有关详细信息,请参阅 HostProtectionAttribute 类或 SQL Server 编程和宿主保护特性For more information, see the HostProtectionAttribute class or SQL Server Programming and Host Protection Attributes.

适用于