Share via


Command Class

Definition

Represents a command that is available for use within the context of the parent element of the CommandCollection.

[System.Runtime.InteropServices.Guid("F6506EF5-FBD7-4237-85D3-E3E66B1CAD9D")]
public sealed class Command : ICloneable
[<System.Runtime.InteropServices.Guid("F6506EF5-FBD7-4237-85D3-E3E66B1CAD9D")>]
type Command = class
    interface ICloneable
Public NotInheritable Class Command
Implements ICloneable
Inheritance
Command
Attributes
Implements

Constructors

Command()

Initializes a new instance of Command using the default values.

Command(String)

Initializes a new instance of the Command class using the specified text.

Properties

Annotations

Gets the collection of annotations associated with the command.

Text

Gets or sets a command text for a batch.

Methods

Clone()

Returns a clone of the object.

CopyTo(Command)

Copies the content of this object to another object (the destination).

Explicit Interface Implementations

ICloneable.Clone()

Applies to