共用方式為


INameScope.RegisterName(String, Object) 方法

定義

供 .NET MAUI 內部使用。

public:
 void RegisterName(System::String ^ name, System::Object ^ scopedElement);
public void RegisterName (string name, object scopedElement);
abstract member RegisterName : string * obj -> unit
Public Sub RegisterName (name As String, scopedElement As Object)

參數

name
String
scopedElement
Object

適用於