Método DataViewBrowseObject.GetEvents (array<Attribute[])
Recupera uma coleção de EventDescriptorCollection de eventos que correspondem aos atributos especificados para atual para o objeto.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (em Microsoft.VisualStudio.Data.Framework.dll)
Sintaxe
'Declaração
Public Overridable Function GetEvents ( _
attributes As Attribute() _
) As EventDescriptorCollection
public virtual EventDescriptorCollection GetEvents(
Attribute[] attributes
)
public:
virtual EventDescriptorCollection^ GetEvents(
array<Attribute^>^ attributes
)
abstract GetEvents :
attributes:Attribute[] -> EventDescriptorCollection
override GetEvents :
attributes:Attribute[] -> EventDescriptorCollection
public function GetEvents(
attributes : Attribute[]
) : EventDescriptorCollection
Parâmetros
attributes
Tipo: array<Attribute[]Uma matriz de objetos Attribute como um filtro para os eventos para retornar.
Valor de retorno
Tipo: EventDescriptorCollection
Retorna uma coleção de EventDescriptorCollection que contém os eventos que correspondam aos atributos especificados para atual para o objeto.
Implementações
ICustomTypeDescriptor.GetEvents(Attribute)
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.