次の方法で共有


EditContextProperties.TryGetValue(Object, Object) メソッド

定義

指定したキーに関連付けられている値 (存在する場合) を取得します。

public:
 bool TryGetValue(System::Object ^ key, [Runtime::InteropServices::Out] System::Object ^ % value);
public bool TryGetValue (object key, out object? value);
member this.TryGetValue : obj * obj -> bool
Public Function TryGetValue (key As Object, ByRef value As Object) As Boolean

パラメーター

key
Object

値が格納されるキー。

value
Object

値 (存在する場合)。

戻り値

値が存在する場合は True、それ以外の場合は false。

適用対象