ICustomTypeDescriptor.GetEventsFromRegisteredType 메서드

정의

등록할 수 있는 구성 요소의 이 인스턴스에 대한 이벤트를 반환합니다.

public:
 virtual System::ComponentModel::EventDescriptorCollection ^ GetEventsFromRegisteredType();
public virtual System.ComponentModel.EventDescriptorCollection GetEventsFromRegisteredType();
abstract member GetEventsFromRegisteredType : unit -> System.ComponentModel.EventDescriptorCollection
override this.GetEventsFromRegisteredType : unit -> System.ComponentModel.EventDescriptorCollection
Public Overridable Function GetEventsFromRegisteredType () As EventDescriptorCollection

반품

EventDescriptorCollection 이 구성 요소 인스턴스에 대한 이벤트를 나타내는 값입니다.

설명

이 인스턴스에 대한 이벤트는 클래스가 제공하는 이벤트 집합과 다를 수 있습니다. 예를 들어 구성 요소가 사이트 기반인 경우 사이트에서 추가 이벤트를 추가하거나 제거할 수 있습니다.

속성이 지정되지 않은 경우 구현자는 반환 EventDescriptorCollection.Empty 할 수 있습니다. 이 메서드는 반환 null하지 않아야 합니다.

적용 대상