Share via


EditContextProperties.TryGetValue(Object, Object) Method

Definition

Gets the value associated with the specified key, if any.

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

Parameters

key
Object

The key under which the value is stored.

value
Object

The value, if present.

Returns

True if the value was present, otherwise false.

Applies to