IMemberCreationService.CreateEvent 메서드

정의

지정된 이벤트 이름, 이벤트 유형 및 특성을 사용하여 지정된 클래스에 이벤트를 만듭니다.

public:
 void CreateEvent(System::String ^ className, System::String ^ eventName, Type ^ eventType, cli::array <System::Workflow::ComponentModel::Compiler::AttributeInfo ^> ^ attributes, bool emitDependencyProperty);
public void CreateEvent(string className, string eventName, Type eventType, System.Workflow.ComponentModel.Compiler.AttributeInfo[] attributes, bool emitDependencyProperty);
abstract member CreateEvent : string * string * Type * System.Workflow.ComponentModel.Compiler.AttributeInfo[] * bool -> unit
Public Sub CreateEvent (className As String, eventName As String, eventType As Type, attributes As AttributeInfo(), emitDependencyProperty As Boolean)

매개 변수

className
String

이벤트를 추가할 클래스 이름을 포함하는 문자열입니다.

eventName
String

이벤트의 이름을 정의하는 문자열입니다.

eventType
Type

Type 이벤트에 할당된 이벤트입니다.

attributes
AttributeInfo[]

AttributeInfo 이벤트에 할당할 모든 특성에 대한 정보가 들어 있는 배열입니다.

emitDependencyProperty
Boolean

true이벤트와 연결된 모든 종속성 속성을 내보내려면 그렇지 않으면 . false

적용 대상