共用方式為


VCFileCodeModel.CodeElements Property

Gets a collection of code elements.

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

Syntax

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

Property Value

Type: EnvDTE.CodeElements
A CodeElements collection.

Implements

FileCodeModel2.CodeElements

.NET Framework Security

See Also

Reference

VCFileCodeModel Interface

CodeElements Overload

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples