Click or drag to resize

CommandWrapperCreate Method

Creates a new instance of the CommandWrapper class.

Namespace:  MongoDB.Driver.Wrappers
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax
public static CommandWrapper Create(
	Object command
)

Parameters

command
Type: SystemObject
The wrapped object.

Return Value

Type: CommandWrapper
A new instance of CommandWrapper or null.
See Also