XamlSchemaContext.GetXamlDirective(String, String) メソッド

定義

XAML 言語または特定の実装のディレクティブを表す XamlDirective 値を返します。

public:
 virtual System::Xaml::XamlDirective ^ GetXamlDirective(System::String ^ xamlNamespace, System::String ^ name);
public virtual System.Xaml.XamlDirective GetXamlDirective(string xamlNamespace, string name);
abstract member GetXamlDirective : string * string -> System.Xaml.XamlDirective
override this.GetXamlDirective : string * string -> System.Xaml.XamlDirective
Public Overridable Function GetXamlDirective (xamlNamespace As String, name As String) As XamlDirective

パラメーター

xamlNamespace
String

名前付きディレクティブを含む XAML 名前空間。

name
String

取得するディレクティブの名前。

返品

要求されたディレクティブを表す XamlDirective オブジェクト。

例外

xamlNamespace または namenull

注釈

XAML 型システム拡張シナリオの一部として XamlDirective から派生クラスを作成する場合は、このメソッドをオーバーライドします。

適用対象