Click or drag to resize
MessageEncoderSettingsAddT Method
Adds a setting.

Namespace: MongoDB.Driver.Core.WireProtocol.Messages.Encoders
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.3.0
Syntax
public MessageEncoderSettings Add<T>(
	string name,
	T value
)

Parameters

name
Type: SystemString
The name.
value
Type: T
The value.

Type Parameters

T
The type of the value.

Return Value

Type: MessageEncoderSettings
The settings.
See Also