AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetEvents 메서드 (array<Attribute )

지정 된 특성 배열을 필터로 사용 하 여 구성 요소 인스턴스의 이벤트를 검색 합니다.

네임스페이스:  Microsoft.VisualStudio.Data.AdoDotNet
어셈블리:  Microsoft.VisualStudio.Data(Microsoft.VisualStudio.Data.dll)

구문

‘선언
Private Function GetEvents ( _
    attributes As Attribute() _
) As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents
EventDescriptorCollection ICustomTypeDescriptor.GetEvents(
    Attribute[] attributes
)
private:
virtual EventDescriptorCollection^ GetEvents(
    array<Attribute^>^ attributes
) sealed = ICustomTypeDescriptor::GetEvents
private abstract GetEvents : 
        attributes:Attribute[] -> EventDescriptorCollection 
private override GetEvents : 
        attributes:Attribute[] -> EventDescriptorCollection 
JScript에서는 명시적 인터페이스 구현을 지원하지 않습니다.

매개 변수

반환 값

형식: System.ComponentModel.EventDescriptorCollection
반환 된 EventDescriptorCollection 지정 된 구성 요소 인스턴스의 필터링 된 이벤트를 표시 합니다.

구현

ICustomTypeDescriptor.GetEvents(array<Attribute[])

설명

이 메서드를 구현 하는 제공 된 GetEvents 메서드.자세한 내용은 GetEvents 메서드에서 .NET Framework 클래스 라이브러리.

Attribute가 attributes 배열에 지정되어 있고 이벤트에 해당 특성에 대한 클래스의 인스턴스가 없는 경우 Attribute가 기본 이벤트이면 반환된 배열에 이벤트가 포함됩니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

AdoDotNetConnectionProperties 클래스

GetEvents 오버로드

Microsoft.VisualStudio.Data.AdoDotNet 네임스페이스