Bewerken

Delen via


ActivityContext.GetLocation<T>(LocationReference) Method

Definition

Returns the typed location for the specified referenced location for the current activity context.

public:
generic <typename T>
 System::Activities::Location<T> ^ GetLocation(System::Activities::LocationReference ^ locationReference);
public System.Activities.Location<T> GetLocation<T> (System.Activities.LocationReference locationReference);
member this.GetLocation : System.Activities.LocationReference -> System.Activities.Location<'T>
Public Function GetLocation(Of T) (locationReference As LocationReference) As Location(Of T)

Type Parameters

T

The type of the location to return.

Parameters

locationReference
LocationReference

The referenced location.

Returns

The typed location.

Applies to