VCProjectEngineObjectClass.ShowEnvironmentInBuildLog 属性

获取或设置一个值,该值指示是否在 Visual C++ 项目生成期间将所有环境变量回显到生成日志中。

命名空间:  Microsoft.VisualStudio.VCProjectEngine
程序集:  Microsoft.VisualStudio.VCProjectEngine(在 Microsoft.VisualStudio.VCProjectEngine.dll 中)

语法

声明
Public Overridable Property ShowEnvironmentInBuildLog As Boolean
public virtual bool ShowEnvironmentInBuildLog { get; set; }
public:
virtual property bool ShowEnvironmentInBuildLog {
    bool get ();
    void set (bool value);
}
abstract ShowEnvironmentInBuildLog : bool with get, set
override ShowEnvironmentInBuildLog : bool with get, set
function get ShowEnvironmentInBuildLog () : boolean
function set ShowEnvironmentInBuildLog (value : boolean)

属性值

类型:System.Boolean
如果将所有环境变量回显到生成日志中,则为 true;否则为 false。

实现

VCProjectEngine.ShowEnvironmentInBuildLog

备注

不要实例化 VCProjectEngineObjectClass。实例化 VCProjectEngineObject ,如下所示:

Dim Engine As VCProjectEngine
Engine = New VCProjectEngineObject()

.NET Framework 安全性

请参见

参考

VCProjectEngineObjectClass 类

Microsoft.VisualStudio.VCProjectEngine 命名空间