MessageEncoderSettingsAddT Method |
Adds a setting.
Namespace:
MongoDB.Driver.Core.WireProtocol.Messages.Encoders
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax public MessageEncoderSettings Add<T>(
string name,
T value
)
Public Function Add(Of T) (
name As String,
value As T
) As MessageEncoderSettings
member Add :
name : string *
value : 'T -> MessageEncoderSettings
Parameters
- name
- Type: SystemString
The name. - value
- Type: T
The value.
Type Parameters
- T
- The type of the value.
Return Value
Type:
MessageEncoderSettingsThe settings.
See Also