Compartilhar via


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

'Declaration
Property PreprocessorDefinitions As String
string PreprocessorDefinitions { get; set; }
property String^ PreprocessorDefinitions {
    String^ get ();
    void set (String^ value);
}
abstract PreprocessorDefinitions : string with get, set
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.

.NET Framework Security

See Also

Reference

VCResourceCompilerTool Interface

Microsoft.VisualStudio.VCProjectEngine Namespace