IMemberCreationService インターフェイス

定義

注意事項

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

デザイン時に型のコード要素を動的に作成、更新、および削除するメソッドを定義します。 デザイン時にコードを表示するためのメソッドも用意されています。

public interface class IMemberCreationService
public interface IMemberCreationService
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public interface IMemberCreationService
type IMemberCreationService = interface
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type IMemberCreationService = interface
Public Interface IMemberCreationService
属性

注釈

注意

ここでは、廃止された型と名前空間について説明します。 詳細については、「.NET 4.5 での Windows Workflow Foundation の新機能」を参照してください。

メソッド

CreateEvent(String, String, Type, AttributeInfo[], Boolean)

指定したイベント名、イベントの種類、および属性を使用して、指定したクラスのイベントを作成します。

CreateField(String, String, Type, Type[], MemberAttributes, CodeSnippetExpression, Boolean)

指定したフィールド名、フィールド型、パラメーター型、属性、およびリテラルの初期化式を使用して、指定したクラスにフィールドを作成します。

CreateProperty(String, String, Type, AttributeInfo[], Boolean, Boolean, Boolean, Type, Boolean)

指定したプロパティ名、プロパティ型、および属性を使用して、指定したクラスのプロパティを作成します。

RemoveEvent(String, String, Type)

指定したクラスから指定したイベントを削除します。

RemoveProperty(String, String, Type)

指定したクラスから指定したプロパティを削除します。

ShowCode()

ワークフロー デザイン サーフェイスに新しいメンバーのコードを表示します。

ShowCode(Activity, String, Type)

指定した Activity、メソッド、およびデリゲートの型を使用して、ワークフロー デザイン サーフェイスに新しいメンバーのコードを表示します。

UpdateBaseType(String, Type)

指定したクラスに関連付ける基本型を更新します。

UpdateEvent(String, String, Type, String, Type, AttributeInfo[], Boolean, Boolean)

指定したクラスの既存のイベントに新しい名前と種類を設定します。

UpdateProperty(String, String, Type, String, Type, AttributeInfo[], Boolean, Boolean)

指定したクラスのプロパティに新しい名前と型を設定します。

UpdateTypeName(String, String)

指定したクラスの名前を更新します。

適用対象