VariableValue<T>.ToString 方法

定义

返回 StringVariableValue<T> 表示形式。Returns a String representation of the VariableValue<T>.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

返回

String

变量的值。The value of the variable.

注解

如果 Variable 已设置该属性,则字符串表示形式包含变量的名称; 否则,它包含活动 ID 和名称。If the Variable property has been set then the string representation consists of the variable's name; otherwise, it consists of the activity ID and name.

适用于