EventDescriptorCollection.Contains(EventDescriptor) Метод
Определение
Возвращает значение, показывающее, содержит ли коллекция данный дескриптор EventDescriptor .Returns whether the collection contains the given EventDescriptor.
public:
bool Contains(System::ComponentModel::EventDescriptor ^ value);
public bool Contains (System.ComponentModel.EventDescriptor value);
member this.Contains : System.ComponentModel.EventDescriptor -> bool
Public Function Contains (value As EventDescriptor) As Boolean
Параметры
- value
- EventDescriptor
Объект EventDescriptor, который требуется найти в коллекции.The EventDescriptor to find within the collection.
Возвращаемое значение
Значение true
, если коллекция содержит указанный параметр value
; в противном случае — значение false
.true
if the collection contains the value
parameter given; otherwise, false
.
Комментарии
Примечание
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.