Share via


DataConnectionProperties.ICustomTypeDescriptor.GetEvents 메서드

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

네임스페이스:  Microsoft.VisualStudio.Data
어셈블리:  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에서는 명시적 인터페이스 구현을 지원하지 않습니다.

반환 값

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

구현

ICustomTypeDescriptor.GetEvents()

설명

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

구현자를 반환할 수 있는 System.ComponentModel.EventDescriptorCollection.Empty 인스턴스 속성이 지정 된 경우.이 메서드에서 nullNull 참조(Visual Basic의 경우 Nothing)을 반환해서는 안됩니다.

.NET Framework 보안

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

참고 항목

참조

DataConnectionProperties 클래스

GetEvents 오버로드

Microsoft.VisualStudio.Data 네임스페이스