INameScope.UnregisterName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Unregisters the provided name from the current XAML namescope.
public:
void UnregisterName(System::String ^ name);
public void UnregisterName (string name);
abstract member UnregisterName : string -> unit
Public Sub UnregisterName (name As String)
Parameters
- name
- String
The name to unregister.
Notes to Implementers
If the input name does not exist, throw an exception.
You should remove the name and the previously registered element it refers to from the collection representation of the XAML namescope, so that the same name could potentially be registered again in the future.
Applies to
See also
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.