LocationReferenceEnvironment.TryGetLocationReference Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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.