Επεξεργασία

Κοινή χρήση μέσω


ModelItemDictionary.ContainsKey Method

Definition

Determines whether the dictionary contains the given key.

Overloads

ContainsKey(ModelItem)

Determines whether the dictionary contains the given key.

ContainsKey(Object)

Determines whether the dictionary contains the given key.

ContainsKey(ModelItem)

Determines whether the dictionary contains the given key.

public:
 abstract bool ContainsKey(System::Activities::Presentation::Model::ModelItem ^ key);
public abstract bool ContainsKey (System.Activities.Presentation.Model.ModelItem key);
abstract member ContainsKey : System.Activities.Presentation.Model.ModelItem -> bool
Public MustOverride Function ContainsKey (key As ModelItem) As Boolean

Parameters

key
ModelItem

The key to find.

Returns

true if the dictionary contains the given key; otherwise, false.

Implements

Exceptions

If key is null.

Applies to

ContainsKey(Object)

Determines whether the dictionary contains the given key.

public:
 abstract bool ContainsKey(System::Object ^ key);
public abstract bool ContainsKey (object key);
abstract member ContainsKey : obj -> bool
Public MustOverride Function ContainsKey (key As Object) As Boolean

Parameters

key
Object

The key to find.

Returns

true if the dictionary contains the given key; otherwise, false.

Exceptions

If key is null.

Applies to