FrameworkElement.UnregisterName(String) FrameworkElement.UnregisterName(String) FrameworkElement.UnregisterName(String) FrameworkElement.UnregisterName(String) Method

定義

簡化對 NameScope 取消註冊方法的存取。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)

參數

name
String String String String

要從目前範圍中移除的「名稱-物件」配對名稱。Name of the name-object pair to remove from the current scope.

備註

您只會要取消註冊名稱,如果您想要重新註冊該相同名稱的另一個項目。You only need to un-register names if you intend to re-register another element with that same name.

適用於

另請參閱