CodeActivityPublicEnvironmentAccessor.TryGetReferenceToPublicLocation Method

Definition

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

public:
 bool TryGetReferenceToPublicLocation(System::Activities::LocationReference ^ publicReference, [Runtime::InteropServices::Out] System::Activities::LocationReference ^ % equivalentReference);
public bool TryGetReferenceToPublicLocation (System.Activities.LocationReference publicReference, out System.Activities.LocationReference equivalentReference);
member this.TryGetReferenceToPublicLocation : System.Activities.LocationReference * LocationReference -> bool
Public Function TryGetReferenceToPublicLocation (publicReference As LocationReference, ByRef equivalentReference As LocationReference) As Boolean

Parameters

publicReference
LocationReference

Public reference location.

equivalentReference
LocationReference

The equivalent reference location.

Returns

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

Applies to