LocationReferenceEnvironment.TryGetLocationReference Methode

Definitie

Wanneer deze wordt overschreven in een afgeleide klasse, wordt geprobeerd de opgegeven LocationReferenceklasse op te halen.

public:
 abstract bool TryGetLocationReference(System::String ^ name, [Runtime::InteropServices::Out] System::Activities::LocationReference ^ % result);
public abstract bool TryGetLocationReference(string name, out System.Activities.LocationReference result);
abstract member TryGetLocationReference : string * LocationReference -> bool
Public MustOverride Function TryGetLocationReference (name As String, ByRef result As LocationReference) As Boolean

Parameters

name
String

De naam van de LocationReference te ophalen.

result
LocationReference

Wanneer deze methode wordt geretourneerdtrue, result bevat de LocationReference met de opgegeven naam; anders. null Deze parameter wordt niet-geïnitialiseerd doorgegeven.

Retouren

trueals een LocationReference met de opgegeven naam aanwezig is; anders. false

Van toepassing op