Language

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。

適用対象