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

適用対象