EventDescriptorCollection.Clear Метод
Определение
Удаляет все объекты из коллекции.Removes all objects from the collection.
public:
void Clear();
public:
virtual void Clear();
public void Clear ();
member this.Clear : unit -> unit
abstract member Clear : unit -> unit
override this.Clear : unit -> unit
Public Sub Clear ()
Реализации
Исключения
Коллекция только для чтения.The collection is read-only.
Комментарии
Примечание
HostProtectionAttributeАтрибут, примененный к этому классу, имеет следующее Resources значение свойства: Synchronization .The 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.