共用方式為


VCCodeModel.Imports Property

Gets the collection of #import statements for the parent object.

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

Syntax

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

Property Value

Type: EnvDTE.CodeElements
A CodeElements collection.

.NET Framework Security

See Also

Reference

VCCodeModel Interface

Microsoft.VisualStudio.VCCodeModel Namespace