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是空引用(Visual Basic 中的 Nothing)。

-或-

targetType 为 null 引用 (Nothing)。

注解

Object这是一个ActivityBind主题。 在派生类中重写时,此方法可用于自定义解析指定绑定的方式。

适用于