Share via


LocationReferenceEnvironment.TryGetLocationReference Yöntem

Tanım

Türetilmiş bir sınıfta geçersiz kılındığında, belirtilen LocationReferenceöğesini almaya çalışır.

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

Parametreler

name
String

Alınacak öğesinin LocationReference adı.

result
LocationReference

Bu yöntem döndürdüğünde trueresultLocationReference, belirtilen ada sahip öğesini içerir; aksi takdirde , null. Bu parametre, başlatmadan iletilir.

Döndürülenler

true belirtilen ada sahip bir LocationReference varsa; yoksa , false.

Şunlara uygulanır