Compartilhar via


CodeActivityPublicEnvironmentAccessor.TryGetAccessToPublicLocation Método

Definição

Retorna um valor que indica se a atividade tentará obter acesso ao local público.

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

Parâmetros

publicLocation
LocationReference

Referência de local público.

accessDirection
ArgumentDirection

A referência de direção de acesso.

equivalentLocation
LocationReference

A referência de local equivalente.

Retornos

true se a atividade de tentativa obterá acesso ao local público, caso contrário, false.

Aplica-se a