共用方式為


VCCodeModel.Macros Property

Gets the collection of macros (#define statements) for the object.

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

Syntax

'宣告
ReadOnly Property Macros As CodeElements
    Get
CodeElements Macros { get; }
property CodeElements^ Macros {
    CodeElements^ get ();
}
abstract Macros : CodeElements
function get Macros () : CodeElements

Property Value

Type: EnvDTE.CodeElements
A CodeElements collection.

.NET Framework Security

See Also

Reference

VCCodeModel Interface

Microsoft.VisualStudio.VCCodeModel Namespace