ResourceDictionary.RegisterName(String, Object) 메서드

정의

이 사전 구현에서는 지원되지 않습니다.

public:
 virtual void RegisterName(System::String ^ name, System::Object ^ scopedElement);
public void RegisterName (string name, object scopedElement);
abstract member RegisterName : string * obj -> unit
override this.RegisterName : string * obj -> unit
Public Sub RegisterName (name As String, scopedElement As Object)

매개 변수

name
String

지원되지 않습니다.

scopedElement
Object

지원되지 않습니다.

구현

예외

이 메서드가 호출되는 모든 경우

설명

클래스는 ResourceDictionary 이름으로 등록을 지원하지 않습니다. 대신 키를 사용합니다. XAML 이름 범위 메서드는 XAML 이름이 리소스에 ResourceDictionary 적용되지 않음을 분명히 하기 위해 작동하지 않는 버전으로 구현됩니다.

이 메서드를 호출하면 throw NotSupportedException 됩니다.

적용 대상