CompiledDataContext.GetLocation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the location of the compiled data context.
Overloads
GetLocation<T>(Func<T>, Action<T>) |
Retrieves the location of the compiled data context using the specified get and set methods. |
GetLocation<T>(Func<T>, Action<T>, Int32, Activity, ActivityContext) |
Retrieves the location of the compiled data context. |
GetLocation<T>(Func<T>, Action<T>)
Retrieves the location of the compiled data context using the specified get and set methods.
public:
generic <typename T>
System::Activities::Location<T> ^ GetLocation(Func<T> ^ getMethod, Action<T> ^ setMethod);
public System.Activities.Location<T> GetLocation<T> (Func<T> getMethod, Action<T> setMethod);
member this.GetLocation : Func<'T> * Action<'T> -> System.Activities.Location<'T>
Public Function GetLocation(Of T) (getMethod As Func(Of T), setMethod As Action(Of T)) As Location(Of T)
Type Parameters
- T
The function.
Parameters
- getMethod
- Func<T>
The get method used.
- setMethod
- Action<T>
The set method used.
Returns
The location of the compiled data context.
Applies to
GetLocation<T>(Func<T>, Action<T>, Int32, Activity, ActivityContext)
Retrieves the location of the compiled data context.
public:
generic <typename T>
System::Activities::Location<T> ^ GetLocation(Func<T> ^ getMethod, Action<T> ^ setMethod, int expressionId, System::Activities::Activity ^ compiledRootActivity, System::Activities::ActivityContext ^ activityContext);
public System.Activities.Location<T> GetLocation<T> (Func<T> getMethod, Action<T> setMethod, int expressionId, System.Activities.Activity compiledRootActivity, System.Activities.ActivityContext activityContext);
member this.GetLocation : Func<'T> * Action<'T> * int * System.Activities.Activity * System.Activities.ActivityContext -> System.Activities.Location<'T>
Public Function GetLocation(Of T) (getMethod As Func(Of T), setMethod As Action(Of T), expressionId As Integer, compiledRootActivity As Activity, activityContext As ActivityContext) As Location(Of T)
Type Parameters
- T
The function.
Parameters
- getMethod
- Func<T>
The get method used.
- setMethod
- Action<T>
The set method used.
- expressionId
- Int32
The expression identifier.
- compiledRootActivity
- Activity
The compiled root activity.
- activityContext
- ActivityContext
The activity context.
Returns
The location of the compiled data context.