LocationReferenceEnvironment.TryGetLocationReference Метод

Определение

При переопределении в производном классе пытается получить указанный 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

Параметры

name
String

Имя извлекаемого LocationReference объекта.

result
LocationReference

При возврате trueresult этого метода содержит LocationReference указанное имя; в противном случае null. Этот параметр передается неинициализирован.

Возвращаемое значение

true Значение LocationReference , если указанное имя присутствует; в противном случае false.

Применяется к