DependencyObject.GetBoundValue(ActivityBind, Type) Method

Definition

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

Parameters

targetType
Type

The Type of the target of the ActivityBind.

Returns

The Object that is the subject of an ActivityBind.

Exceptions

bind is a null reference (Nothing in Visual Basic).

-or-

targetType is a null reference (Nothing).

Remarks

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.

Applies to