ActivityBind クラス

定義

注意事項

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

アクティビティのプロパティをプロパティ、フィールド、インデクサー、メソッド、イベント、または別のアクティビティのプロパティにバインドします。 このクラスは継承できません。

public ref class ActivityBind sealed : System::Workflow::ComponentModel::Serialization::MarkupExtension
[System.ComponentModel.Browsable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.ActivityBindTypeConverter))]
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.Compiler.ActivityBindValidator))]
public sealed class ActivityBind : System.Workflow.ComponentModel.Serialization.MarkupExtension
[System.ComponentModel.Browsable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.ActivityBindTypeConverter))]
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.Compiler.ActivityBindValidator))]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class ActivityBind : System.Workflow.ComponentModel.Serialization.MarkupExtension
[<System.ComponentModel.Browsable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.ActivityBindTypeConverter))>]
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.Compiler.ActivityBindValidator))>]
type ActivityBind = class
    inherit MarkupExtension
[<System.ComponentModel.Browsable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.ActivityBindTypeConverter))>]
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.Compiler.ActivityBindValidator))>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityBind = class
    inherit MarkupExtension
Public NotInheritable Class ActivityBind
Inherits MarkupExtension
継承
ActivityBind
属性

注釈

Note

この資料では、古い型と名前空間について説明します。 詳細については、「Windows Workflow Foundation 4.5 のDeprecated 型」を参照してください。

ActivityBind を使用すると、ワークフロー内のあるアクティビティから別のアクティビティにデータをフローできます。 ActivityBind は、コードを使用して他の方法で実行する必要がある宣言型の方法であるため、XAML マークアップで完全に記述されるほとんどのワークフローの重要な要素です。

ActivityBind は、ターゲットとして Activity メンバーを持つバインド式を表します。 ターゲット アクティビティ メンバーには、プロパティ、イベント、またはフィールドを指定できます。 Activityプロパティまたはメソッドは、ActivityBindを使用して別のActivity メンバーにバインドできます。

たとえば、activity1 に property1 が何らかの値に設定されていて、activity2 の property1 が Name="activity1" および Path="property1" の ActivityBind に設定されている場合、activity2.property1 は activity1.property1 からその値を取得します。

コンストラクター

名前 説明
ActivityBind()
古い.

ActivityBind クラスの新しいインスタンスを初期化します。

ActivityBind(String, String)
古い.

nameパラメーターとpath パラメーターを使用して、ActivityBind クラスの新しいインスタンスを初期化します。

ActivityBind(String)
古い.

name パラメーターを使用して、ActivityBind クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
Name
古い.

ActivityBindが指すActivityの名前を取得または設定します。

Path
古い.

ターゲット アクティビティのメンバーのパスを取得または設定します。 この値は、ドット表記を使用して、入れ子になった値へのパスを示すことができます。 たとえば、"A.B.C" のパスは、 ActivityBind が 'C' という名前のフィールドまたはプロパティ (フィールドまたはプロパティ 'B' のメンバー) であることを示します。これは、ターゲット アクティビティのメンバーであるフィールドまたはプロパティ 'A' です。

UserData
古い.

このインスタンスに関連するユーザー データの IDictionary を取得します。

メソッド

名前 説明
Equals(Object)
古い.

指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetHashCode()
古い.

既定のハッシュ関数として機能します。

(継承元 Object)
GetRuntimeValue(Activity, Type)
古い.

このActivityBindの実行時の値を表すObjectを取得します。

GetRuntimeValue(Activity)
古い.

このActivityBindの実行時の値を表すObjectを取得します。

GetType()
古い.

現在のインスタンスの Type を取得します。

(継承元 Object)
MemberwiseClone()
古い.

現在の Objectの簡易コピーを作成します。

(継承元 Object)
ProvideValue(IServiceProvider)
古い.

このクラスの現在のインスタンスを返します。

SetRuntimeValue(Activity, Object)
古い.

実行時の値を設定します。

ToString()
古い.

NamePathプロパティ文字列の組み合わせを計算して返します。

適用対象