LocationReferenceEnvironment.TryGetLocationReference Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.