Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

FrameworkElement.UnregisterName(String) Method

Definition

Namespace:
System.Windows
Assembly:
PresentationFramework.dll

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.

Simplifies access to the NameScope de-registration method.

public:
 void UnregisterName(System::String ^ name);
public void UnregisterName(string name);
member this.UnregisterName : string -> unit
Public Sub UnregisterName (name As String)

Parameters

name
String

Name of the name-object pair to remove from the current scope.

Remarks

You only need to un-register names if you intend to re-register another element with that same name.

Applies to

See also


Feedback

Was this page helpful?