ModelItemDictionary.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the value to the dictionary under the given key.
Overloads
Add(ModelItem, ModelItem) |
Adds the value to the dictionary under the given key. |
Add(Object, Object) |
Adds the value to the dictionary under the given key. This method wraps the key and value in a set of ModelItem objects. |
Add(ModelItem, ModelItem)
Adds the value to the dictionary under the given key.
public:
abstract void Add(System::Activities::Presentation::Model::ModelItem ^ key, System::Activities::Presentation::Model::ModelItem ^ value);
public abstract void Add (System.Activities.Presentation.Model.ModelItem key, System.Activities.Presentation.Model.ModelItem value);
abstract member Add : System.Activities.Presentation.Model.ModelItem * System.Activities.Presentation.Model.ModelItem -> unit
Public MustOverride Sub Add (key As ModelItem, value As ModelItem)
Parameters
Implements
Exceptions
If the ModelItemDictionary is read-only.
Applies to
Add(Object, Object)
Adds the value to the dictionary under the given key. This method wraps the key and value in a set of ModelItem objects.
public:
abstract System::Activities::Presentation::Model::ModelItem ^ Add(System::Object ^ key, System::Object ^ value);
public abstract System.Activities.Presentation.Model.ModelItem Add (object key, object value);
abstract member Add : obj * obj -> System.Activities.Presentation.Model.ModelItem
Public MustOverride Function Add (key As Object, value As Object) As ModelItem
Parameters
- key
- Object
The key in the key/value pair to be added.
- value
- Object
The value in the key/value pair to be added.
Returns
A ModelItem that represents the key.
Exceptions
If key
or value
is null
.
If the ModelItemDictionary is read-only.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기