ModelItemDictionary.TryGetValue ModelItemDictionary.TryGetValue ModelItemDictionary.TryGetValue ModelItemDictionary.TryGetValue Method

Definition

Retrieves the value for the given key, if possible.

Overloads

TryGetValue(Object, ModelItem) TryGetValue(Object, ModelItem) TryGetValue(Object, ModelItem) TryGetValue(Object, ModelItem)

Retrieves the value for the given key, if possible.

TryGetValue(ModelItem, ModelItem) TryGetValue(ModelItem, ModelItem) TryGetValue(ModelItem, ModelItem) TryGetValue(ModelItem, ModelItem)

Retrieves the value for the given key, if possible.

TryGetValue(Object, ModelItem) TryGetValue(Object, ModelItem) TryGetValue(Object, ModelItem) TryGetValue(Object, ModelItem)

Retrieves the value for the given key, if possible.

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

Parameters

key
Object Object Object Object

The key associated with the value to retrieve.

value
ModelItem ModelItem ModelItem ModelItem

The value associated with the specified key.

Returns

true if there is a value present for the specified key; otherwise, false.

Exceptions

TryGetValue(ModelItem, ModelItem) TryGetValue(ModelItem, ModelItem) TryGetValue(ModelItem, ModelItem) TryGetValue(ModelItem, ModelItem)

Retrieves the value for the given key, if possible.

public:
 abstract bool TryGetValue(System::Activities::Presentation::Model::ModelItem ^ key, [Runtime::InteropServices::Out] System::Activities::Presentation::Model::ModelItem ^ % value);
public abstract bool TryGetValue (System.Activities.Presentation.Model.ModelItem key, out System.Activities.Presentation.Model.ModelItem value);
abstract member TryGetValue : System.Activities.Presentation.Model.ModelItem *  -> bool
Public MustOverride Function TryGetValue (key As ModelItem, ByRef value As ModelItem) As Boolean

Parameters

key
ModelItem ModelItem ModelItem ModelItem

The key associated with the value to retrieve.

value
ModelItem ModelItem ModelItem ModelItem

The value associated with the specified key.

Returns

true if there is a value present for the specified key; otherwise, false.

Exceptions

Applies to