Rediger

Del via


CodeActivityPublicEnvironmentAccessor.TryGetAccessToPublicLocation Method

Definition

Returns a value that indicates whether the activity will try to get access to public location.

public:
 bool TryGetAccessToPublicLocation(System::Activities::LocationReference ^ publicLocation, System::Activities::ArgumentDirection accessDirection, [Runtime::InteropServices::Out] System::Activities::LocationReference ^ % equivalentLocation);
public bool TryGetAccessToPublicLocation (System.Activities.LocationReference publicLocation, System.Activities.ArgumentDirection accessDirection, out System.Activities.LocationReference equivalentLocation);
member this.TryGetAccessToPublicLocation : System.Activities.LocationReference * System.Activities.ArgumentDirection * LocationReference -> bool
Public Function TryGetAccessToPublicLocation (publicLocation As LocationReference, accessDirection As ArgumentDirection, ByRef equivalentLocation As LocationReference) As Boolean

Parameters

publicLocation
LocationReference

Public location reference.

accessDirection
ArgumentDirection

The access direction reference.

equivalentLocation
LocationReference

The equivalent location reference.

Returns

true if the activity to try will get access to public location; otherwise, false.

Applies to