IMemberCreationService.CreateEvent 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 이벤트 이름, 이벤트 유형 및 특성을 사용하여 지정된 클래스에 이벤트를 만듭니다.
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
이벤트의 이름을 정의하는 문자열입니다.
- attributes
- AttributeInfo[]
AttributeInfo 이벤트에 할당할 모든 특성에 대한 정보가 들어 있는 배열입니다.
- emitDependencyProperty
- Boolean
true이벤트와 연결된 모든 종속성 속성을 내보내려면 그렇지 않으면 . false