Share via


AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetEvents 메서드

지정 된 구성 요소 인스턴스의 이벤트를 검색합니다.

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

구문

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

반환 값

형식: EventDescriptorCollection
반환 된 EventDescriptorCollection 지정 된 구성 요소 인스턴스의 이벤트를 나타내는 개체입니다.

구현

ICustomTypeDescriptor.GetEvents

설명

이 메서드는 구현을 제공 된 GetEvents 방법. 자세한 내용은 참조는 GetEvents 메서드에서 .NET Framework 클래스 라이브러리입니다.

지정된 속성이 없으면 구현할 때 Empty를 반환할 수 있습니다.

이 메서드에서 nullNull 참조(Visual Basic의 경우 Nothing)을 반환해서는 안됩니다.

.NET Framework 보안

참고 항목

참조

AdoDotNetConnectionProperties 클래스

GetEvents 오버로드

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