Бөлісу құралы:


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

Если этот метод возвращает значение true, параметр result содержит объект LocationReference с указанным именем; в противном случае — значение null. Этот параметр передается неинициализированным.

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

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

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