XmlStreamStore.GetWellKnownCompatibleNamespaces(Uri) Method
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.
Returns a list of namespaces that are compatible as an input namespace.
public:
static System::Collections::Generic::IList<Uri ^> ^ GetWellKnownCompatibleNamespaces(Uri ^ name);
public static System.Collections.Generic.IList<Uri> GetWellKnownCompatibleNamespaces (Uri name);
static member GetWellKnownCompatibleNamespaces : Uri -> System.Collections.Generic.IList<Uri>
Public Shared Function GetWellKnownCompatibleNamespaces (name As Uri) As IList(Of Uri)
Parameters
- name
- Uri
The starting URI sequence to return the list of namespaces for.
Returns
A list of compatible namespaces that match name
; otherwise, null
if there are no compatible namespaces found.
Remarks
The name
parameter works only for predefined Microsoft Annotations Framework namespaces. For any other namespace given in the name
parameter GetWellKnownCompatibleNamespaces will return null
, even those namespaces registered through the knownNamespaces
parameter of the XmlStreamStore constructor.
The namespaces predefined by the Annotations Framework include the following:
http://schemas.microsoft.com/windows/annotations/2003/11/core
http://schemas.microsoft.com/windows/annotations/2003/11/base
http://schemas.microsoft.com/winfx/2006/xaml/presentation