MessageQueryTable<TItem>.Add Method
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 an item to the collection.
Add(KeyValuePair<MessageQuery,TItem>) |
Adds an item defined as a key/value pair. |
Add(MessageQuery, TItem) |
Adds an item to the collection using a key/value system. |
Adds an item defined as a key/value pair.
public:
virtual void Add(System::Collections::Generic::KeyValuePair<System::ServiceModel::Dispatcher::MessageQuery ^, TItem> item);
public void Add(System.Collections.Generic.KeyValuePair<System.ServiceModel.Dispatcher.MessageQuery,TItem> item);
abstract member Add : System.Collections.Generic.KeyValuePair<System.ServiceModel.Dispatcher.MessageQuery, 'Item> -> unit
override this.Add : System.Collections.Generic.KeyValuePair<System.ServiceModel.Dispatcher.MessageQuery, 'Item> -> unit
Public Sub Add (item As KeyValuePair(Of MessageQuery, TItem))
Parameters
- item
- KeyValuePair<MessageQuery,TItem>
The generic KeyValuePair<TKey,TValue> to add.
Implements
Applies to
.NET Framework 4.8.1 y otras versiones
Producto | Versiones |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Adds an item to the collection using a key/value system.
public:
virtual void Add(System::ServiceModel::Dispatcher::MessageQuery ^ key, TItem value);
public void Add(System.ServiceModel.Dispatcher.MessageQuery key, TItem value);
abstract member Add : System.ServiceModel.Dispatcher.MessageQuery * 'Item -> unit
override this.Add : System.ServiceModel.Dispatcher.MessageQuery * 'Item -> unit
Public Sub Add (key As MessageQuery, value As TItem)
Parameters
- key
- MessageQuery
A MessageQuery that acts as a key.
- value
- TItem
The value to add, associated with the key.
Implements
Applies to
.NET Framework 4.8.1 y otras versiones
Producto | Versiones |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Comentarios de .NET
.NET es un proyecto de código abierto. Seleccione un vínculo para proporcionar comentarios: