Freigeben über


IImportScope.Imports Eigenschaft

Definition

Typen oder Namespaces, die auf dieser Ebene der Kette importiert werden. Dies entspricht using Namespace; oder using static Type; in C# oder Imports TypeOrNamespace in Visual Basic. Dies schließt globale Namespace- oder Typimporte für beide Sprachen ein.

public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ImportedNamespaceOrType> Imports { get; }
member this.Imports : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ImportedNamespaceOrType>
Public ReadOnly Property Imports As ImmutableArray(Of ImportedNamespaceOrType)

Eigenschaftswert

Hinweise

Kann sein Empty, wird nie sein IsDefault.

Gilt für: