Edit

Bagikan melalui


CodeCondition.GetBoundValue(ActivityBind, Type) Method

Definition

Retrieves the Object that is the subject of a ActivityBind.

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

Parameters

bind
ActivityBind

The ActivityBind of interest.

targetType
Type

The Type of the target of the ActivityBind.

Returns

The Object bound to the activity by the ActivityBind.

Exceptions

bind or targetType is null.

Applies to