Method Set NamespaceMongoDB.Driver.Core.WireProtocol.Messages.Encoders AssemblyMongoDB.Driver.Core.dll Set(string, object) Sets the specified setting. public void Set(string name, object value) Parameters name string The name. value object The value.