Share via


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

요청된 지시문을 나타내는 XamlDirective 개체입니다.

예외

xamlNamespace 또는 namenull인 경우

설명

XAML 형식 시스템 확장 시나리오의 일부로 파생 클래스 XamlDirective 를 만드는 경우 이 메서드를 재정의합니다.

적용 대상