RootComponentMapping コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
RootComponentMapping(Type, String) |
指定 |
RootComponentMapping(Type, String, ParameterView) |
指定 |
RootComponentMapping(Type, String)
指定componentType
した と を使用して、 のRootComponentMapping新しいインスタンスをselector
作成します。
public:
RootComponentMapping(Type ^ componentType, System::String ^ selector);
public RootComponentMapping (Type componentType, string selector);
new Microsoft.AspNetCore.Components.WebAssembly.Hosting.RootComponentMapping : Type * string -> Microsoft.AspNetCore.Components.WebAssembly.Hosting.RootComponentMapping
Public Sub New (componentType As Type, selector As String)
パラメーター
- componentType
- Type
コンポーネントの種類。 を実装 IComponentする必要があります。
- selector
- String
コンポーネントの DOM 要素セレクターまたはコンポーネント登録 ID。
適用対象
RootComponentMapping(Type, String, ParameterView)
指定componentType
した と を使用して、 のRootComponentMapping新しいインスタンスをselector
作成します。
public:
RootComponentMapping(Type ^ componentType, System::String ^ selector, Microsoft::AspNetCore::Components::ParameterView parameters);
public RootComponentMapping (Type componentType, string selector, Microsoft.AspNetCore.Components.ParameterView parameters);
new Microsoft.AspNetCore.Components.WebAssembly.Hosting.RootComponentMapping : Type * string * Microsoft.AspNetCore.Components.ParameterView -> Microsoft.AspNetCore.Components.WebAssembly.Hosting.RootComponentMapping
Public Sub New (componentType As Type, selector As String, parameters As ParameterView)
パラメーター
- componentType
- Type
コンポーネントの種類。 を実装 IComponentする必要があります。
- selector
- String
コンポーネントの DOM 要素セレクターまたは登録 ID。
- parameters
- ParameterView
コンポーネントに渡すパラメーター。