XamlType.GetXamlNamespaces メソッド

定義

型が含まれる XAML 名前空間の文字列識別子の一覧を返します。

public:
 virtual System::Collections::Generic::IList<System::String ^> ^ GetXamlNamespaces();
public virtual System.Collections.Generic.IList<string> GetXamlNamespaces();
abstract member GetXamlNamespaces : unit -> System.Collections.Generic.IList<string>
override this.GetXamlNamespaces : unit -> System.Collections.Generic.IList<string>
Public Overridable Function GetXamlNamespaces () As IList(Of String)

返品

文字列値の一覧。各文字列は XAML 名前空間の URI 識別子です。

注釈

一般的な XAML 名前空間識別子は、URI 形式の文字列です。

既定の実装では、構築時に提供される XAML 名前空間 (XamlType(String, String, IList<XamlType>, XamlSchemaContext) シグネチャのみ)、およびスキーマ コンテキストから使用可能な名前空間の順序で、次のものがチェックされます。 これらが各 nullの場合は、1 つの空の文字列を含む新しいリストが生成されます。 このメソッドをオーバーライドして、ルックアップ手法を変更できます。

適用対象