ResourceDictionary::RegisterName Method (String^, Object^)
Not supported by this Dictionary implementation.
Assembly: PresentationFramework (in PresentationFramework.dll)
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.
Available since 3.0