ICommandSource.CommandParameter 属性

定义

表示可在执行命令时传递给该命令的用户定义的数据值。Represents a user defined data value that can be passed to the command when it is executed.

public:
 property System::Object ^ CommandParameter { System::Object ^ get(); };
public object CommandParameter { get; }
member this.CommandParameter : obj
Public ReadOnly Property CommandParameter As Object

属性值

Object

命令特定数据。The command specific data.

注解

通常, CommandParameter 用于在执行命令时将特定信息传递给命令。Normally, the CommandParameter is used to pass specific information to the command when it is executed. 数据的类型由命令定义。The type of the data is defined by the command.

适用于

另请参阅