DependencyObject.GetBoundValue(ActivityBind, Type) 方法

定義

擷取 Object,其為 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 之目標的 ActivityBind

傳回

Object,其為 ActivityBind 的主體。

例外狀況

bind 為 null 參考 (在 Visual Basic 中為 Nothing)。

-或-

targetType 為 null 參考 (Nothing)。

備註

Object,其為 ActivityBind 的主體。 在衍生類別中覆寫時,這個方法可用於自訂解析指定繫結的方式。

適用於