LocationReferenceEnvironment.TryGetLocationReference Metoda

Definicja

Po przesłonięciu w klasie pochodnej próbuje uzyskać określony LocationReferenceelement .

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

Parametry

name
String

Nazwa elementu LocationReference do pobrania.

result
LocationReference

Gdy ta metoda zwraca truewartość , result zawiera LocationReference element o określonej nazwie; w przeciwnym razie null. Ten parametr jest przekazywany jako niezainicjowany.

Zwraca

true jeśli element LocationReference o określonej nazwie jest obecny; w przeciwnym razie false.

Dotyczy