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。