XmlStreamStore.IgnoredNamespaces Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.