共用方式為


ImportsStatementSyntax.ImportsClauses Property

Definition

A list of one or more import clauses. Each clause is either an alias, namespace or XML namespace import.

public:
 property Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ImportsClauseSyntax ^> ImportsClauses { Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ImportsClauseSyntax ^> get(); };
public Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ImportsClauseSyntax> ImportsClauses { get; }
member this.ImportsClauses : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ImportsClauseSyntax>
Public ReadOnly Property ImportsClauses As SeparatedSyntaxList(Of ImportsClauseSyntax)

Property Value

Remarks

If nothing is present, an empty list is returned.

Applies to