Share via


IImportScope.XmlNamespaces Property

Definition

Xml namespaces imported at this level of the chain. This corresponds to Imports <xmlns:prefix = "name"> in Visual Basic. It will be empty in C#.

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

Property Value

Remarks

May be Empty, will never be IsDefault.

Applies to