Edit

Share via


XmlStreamStore.IgnoredNamespaces Property

Definition

Gets a list of the namespaces that were ignored when the XML stream was loaded.

public:
 property System::Collections::Generic::IList<Uri ^> ^ IgnoredNamespaces { System::Collections::Generic::IList<Uri ^> ^ get(); };
public System.Collections.Generic.IList<Uri> IgnoredNamespaces { get; }
member this.IgnoredNamespaces : System.Collections.Generic.IList<Uri>
Public ReadOnly Property IgnoredNamespaces As IList(Of Uri)

Property Value

The list of the namespaces that were ignored when the XML stream was loaded.

Remarks

The IgnoredNamespaces property will never return null, however the returned list can be empty if no namespaces are ignored.

IgnoredNamespaces helps in XML markup compatibility when the program reads annotation content created by different versions of the Microsoft Annotations Framework. When an older application is given annotation content created using a newer version of the Annotations Framework, IgnoredNamespaces returns a list of the XML namespaces for elements and attributes not known to the older framework. Unknown XML elements and attributes associated with newer namespaces are ignored when the annotation content is read and deserialized by the older application. For more information, see the XML Markup Compatibility Specification.

Applies to

See also