VCResourceCompilerTool.PreprocessorDefinitions Property

Gets or sets one or more preprocessor definitions.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Syntax

声明
Property PreprocessorDefinitions As String
用法
Dim instance As VCResourceCompilerTool
Dim value As String

value = instance.PreprocessorDefinitions

instance.PreprocessorDefinitions = value
string PreprocessorDefinitions { get; set; }
property String^ PreprocessorDefinitions {
    String^ get ();
    void set (String^ value);
}
function get PreprocessorDefinitions () : String
function set PreprocessorDefinitions (value : String)

Property Value

Type: System.String

One or more preprocessor definitions.

Remarks

PreprocessorDefinitions exposes the functionality of the compiler's /D (Preprocessor Definitions) option, the MIDL compiler's MIDL Property Pages: General option, and the resource compiler's Resources Property Pages option.

Permissions

See Also

Reference

VCResourceCompilerTool Interface

VCResourceCompilerTool Members

Microsoft.VisualStudio.VCProjectEngine Namespace