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.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
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