DependencyObject.GetBoundValue(ActivityBind, Type) DependencyObject.GetBoundValue(ActivityBind, Type) DependencyObject.GetBoundValue(ActivityBind, Type) DependencyObject.GetBoundValue(ActivityBind, Type) Method

定義

擷取 Object,其為 ActivityBind 的主體。Retrieves the Object that is the subject of an ActivityBind.

protected:
 virtual System::Object ^ GetBoundValue(System::Workflow::ComponentModel::ActivityBind ^ bind, Type ^ targetType);
protected virtual object GetBoundValue (System.Workflow.ComponentModel.ActivityBind bind, Type targetType);
abstract member GetBoundValue : System.Workflow.ComponentModel.ActivityBind * Type -> obj
override this.GetBoundValue : System.Workflow.ComponentModel.ActivityBind * Type -> obj
Protected Overridable Function GetBoundValue (bind As ActivityBind, targetType As Type) As Object

參數

targetType
Type Type Type Type

Type 之目標的 ActivityBindThe Type of the target of the ActivityBind.

傳回

Object,其為 ActivityBind 的主體。The Object that is the subject of an ActivityBind.

例外狀況

bind 為 null 參考 (在 Visual Basic 中為 Nothing)。bind is a null reference (Nothing in Visual Basic).

-或--or-

targetType 為 null 參考 (Nothing)。targetType is a null reference (Nothing).

備註

Object,其為 ActivityBind 的主體。The Object that is the subject of an ActivityBind. 在衍生類別中覆寫時,這個方法可用於自訂解析指定繫結的方式。When overridden in a derived class, this method can be used to customize the way in which a specified binding is resolved.

適用於