MessageEncoderSettingsAddT Method |
Adds a setting.
Namespace: MongoDB.Driver.Core.WireProtocol.Messages.EncodersAssembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.3.0
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