CodeActivityPublicEnvironmentAccessor.TryGetAccessToPublicLocation Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Retourneert een waarde die aangeeft of de activiteit toegang probeert te krijgen tot de openbare locatie.
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
Referentie voor openbare locatie.
- accessDirection
- ArgumentDirection
De verwijzing naar de toegangsrichting.
- equivalentLocation
- LocationReference
De equivalente locatiereferentie.
Retouren
true als de activiteit om te proberen toegang krijgt tot openbare locatie; anders, false.