Copies the state of one command to another.

Namespace:  Endeca.Data
Assembly:  Endeca.Data (in Endeca.Data.dll) Version: 2.1.1.0 (2.1.1.620)

Syntax

C#
public static void Copy(
	EndecaCommand from,
	EndecaCommand to
)
Visual Basic (Declaration)
Public Shared Sub Copy ( _
	from As EndecaCommand, _
	to As EndecaCommand _
)
Visual C++
public:
static void Copy(
	EndecaCommand^ from, 
	EndecaCommand^ to
)

Parameters

from
Type: Endeca.Data.Provider..::.EndecaCommand
Command from which state should be copied.
to
Type: Endeca.Data.Provider..::.EndecaCommand
Command to which state should be copied.

Exceptions

ExceptionCondition
System..::.ArgumentNullException if from or to is null.

See Also