ActivityContext.GetLocation<T>(LocationReference) 方法

定义

返回当前活动上下文的指定引用位置的类型化位置。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)

类型参数

T

要返回的位置的类型。The type of the location to return.

参数

locationReference
LocationReference

引用的位置。The referenced location.

返回

Location<T>

类型化位置。The typed location.

适用于