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 が格納されます。 このパラメーターは初期化せずに渡されます。

戻り値

指定された名前を持つ LocationReference が存在する場合は true、それ以外の場合は false

適用対象