CodeActivityPublicEnvironmentAccessor.TryGetAccessToPublicLocation(LocationReference, ArgumentDirection, LocationReference) CodeActivityPublicEnvironmentAccessor.TryGetAccessToPublicLocation(LocationReference, ArgumentDirection, LocationReference) CodeActivityPublicEnvironmentAccessor.TryGetAccessToPublicLocation(LocationReference, ArgumentDirection, LocationReference) CodeActivityPublicEnvironmentAccessor.TryGetAccessToPublicLocation(LocationReference, ArgumentDirection, LocationReference) 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 LocationReference LocationReference LocationReference

Public location reference.

accessDirection
ArgumentDirection ArgumentDirection ArgumentDirection ArgumentDirection

The access direction reference.

equivalentLocation
LocationReference LocationReference LocationReference LocationReference

The equivalent location reference.

Returns

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

Applies to