Skip to main content
.NET Framework Class Library
FrameworkElementUnregisterName Method

Simplifies access to the NameScope de-registration method.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)
Syntax
Public Sub UnregisterName ( _
	name As [%$TOPIC/ms557700_en-us_VS_110_2_0_0_0_0%] _
)
public void UnregisterName(
	[%$TOPIC/ms557700_en-us_VS_110_2_0_1_0_0%] name
)
public:
void UnregisterName(
	[%$TOPIC/ms557700_en-us_VS_110_2_0_2_0_0%]^ name
)
member UnregisterName : 
        name:[%$TOPIC/ms557700_en-us_VS_110_2_0_3_0_0%] -> unit
public function UnregisterName(
	name : [%$TOPIC/ms557700_en-us_VS_110_2_0_4_0_0%]
)

Parameters

name
Type: SystemString

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.

Version Information

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1