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.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
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