MarkupCompilePass1.IsRunningInVisualStudio 属性

定义

获取或设置一个值,该值指示任务是否在 Visual Studio 中运行。Gets or sets a value that indicates whether the task is running in Visual Studio.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 property bool IsRunningInVisualStudio { bool get(); void set(bool value); };
public bool IsRunningInVisualStudio { get; set; }
member this.IsRunningInVisualStudio : bool with get, set
Public Property IsRunningInVisualStudio As Boolean

属性值

Boolean

如果任务在 Visual Studio 中运行,则为 true;否则为 falsetrue if the task is running in Visual Studio; otherwise, false.

适用于