LocationReferenceEnvironment.TryGetLocationReference Metódus

Definíció

Ha felül van bírálva egy származtatott osztályban, megkísérli lekérni a megadott LocationReferenceértéket.

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

Paraméterek

name
String

A lekérendő név LocationReference .

result
LocationReference

Ha ez a metódus visszaadja true, result a LocationReference megadott nevet tartalmazza, ellenkező esetben null. Ez a paraméter nem inicializálva lesz átadva.

Válaszok

true ha a LocationReference megadott névvel rendelkezik; ellenkező esetben false.

A következőre érvényes: