CustomElementsJSComponentConfigurationExtensions.RegisterCustomElement<TComponent> Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
public static void RegisterCustomElement<TComponent>(this Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration configuration, string identifier) where TComponent : Microsoft.AspNetCore.Components.IComponent;
static member RegisterCustomElement : Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration * string -> unit (requires 'Component :> Microsoft.AspNetCore.Components.IComponent)
<Extension()>
Public Sub RegisterCustomElement(Of TComponent As IComponent) (configuration As IJSComponentConfiguration, identifier As String)
Параметры типа
- TComponent
Параметры
- configuration
- IJSComponentConfiguration
- identifier
- String