LocationReferenceEnvironment.TryGetLocationReference Metod

Definition

När åsidosättas i en härledd klass försöker du hämta den angivna LocationReference.

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

Parametrar

name
String

Namnet på det som ska hämtas LocationReference .

result
LocationReference

När den här metoden returnerar trueresult innehåller innehåller LocationReference med det angivna namnet, nullannars . Den här parametern skickas oinitierad.

Returer

trueom en LocationReference med det angivna namnet finns, annars . false

Gäller för