共用方式為


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

參考的位置。

傳回

具型別的位置。

適用於