ResourceDictionary::RegisterName Method (String^, Object^)
.NET Framework (current version)
Not supported by this Dictionary implementation.
Assembly: PresentationFramework (in PresentationFramework.dll)
| Exception | Condition |
|---|---|
| NotSupportedException | In all cases when this method is called. |
The ResourceDictionary class does not support registering by name. It uses keys instead. The XAML namescope methods are implemented as inoperative versions in ResourceDictionary to make it clear that XAML names do not apply to resources.
Calling this method will cause a NotSupportedException to be thrown.
.NET Framework
Available since 3.0
Available since 3.0
Show: