Bewerken

Share via


XmlStreamStore.GetWellKnownCompatibleNamespaces(Uri) Method

Definition

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

Applies to

See also