Redigera

Dela via


LocationReferenceEnvironment.TryGetLocationReference Method

Definition

When overridden in a derived class, attempts to get the specified 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

Parameters

name
String

The name of the LocationReference to retrieve.

result
LocationReference

When this method returns true, result contains the LocationReference with the specified name; otherwise, null. This parameter is passed uninitialized.

Returns

true if a LocationReference with the specified name is present; otherwise, false.

Applies to