RootComponent(String, Type, IDictionary<String,Object>) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructs an instance of RootComponent.
public:
RootComponent(System::String ^ selector, Type ^ componentType, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ parameters);
public RootComponent (string selector, Type componentType, System.Collections.Generic.IDictionary<string,object?>? parameters);
new Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponent : string * Type * System.Collections.Generic.IDictionary<string, obj> -> Microsoft.AspNetCore.Components.WebView.WindowsForms.RootComponent
Public Sub New (selector As String, componentType As Type, parameters As IDictionary(Of String, Object))
Parameters
- selector
- String
The CSS selector string that specifies where in the document the component should be placed. This must be unique among the root components within the BlazorWebView.
- componentType
- Type
The type of the root component. This type must implement IComponent.
- parameters
- IDictionary<String,Object>
An optional dictionary of parameters to pass to the root component.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.