ActivityContext.GetLocation<T>(LocationReference) 方法

定义

返回当前活动上下文的指定引用位置的类型化位置。

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

要返回的位置的类型。

参数

locationReference
LocationReference

引用的位置。

返回

类型化位置。

适用于