Element.INameScope.RegisterName(String, Object) 方法

定义

供 .NET MAUI 内部使用。

 virtual void Microsoft.Maui.Controls.Internals.INameScope.RegisterName(System::String ^ name, System::Object ^ scopedElement) = Microsoft::Maui::Controls::Internals::INameScope::RegisterName;
void INameScope.RegisterName (string name, object scopedElement);
abstract member Microsoft.Maui.Controls.Internals.INameScope.RegisterName : string * obj -> unit
override this.Microsoft.Maui.Controls.Internals.INameScope.RegisterName : string * obj -> unit
Sub RegisterName (name As String, scopedElement As Object) Implements INameScope.RegisterName

参数

name
String
scopedElement
Object

实现

适用于