语言

SectionContent 类

定义

向具有匹配 SectionId的组件提供内容SectionOutlet。

public sealed class SectionContent : IDisposable, Microsoft.AspNetCore.Components.IComponent
type SectionContent = class
    interface IComponent
    interface IDisposable
Public NotInheritable Class SectionContent
Implements IComponent, IDisposable
继承
SectionContent
实现

构造函数

名称 说明
SectionContent()

向具有匹配 SectionId的组件提供内容SectionOutlet。

属性

名称 说明
ChildContent

获取或设置要呈现在相应 SectionOutlet 实例中的内容。

SectionId

获取或设置确定 Object 哪个 SectionOutlet 实例将呈现此实例的内容的 ID。

SectionName

获取或设置确定 String 哪个 SectionOutlet 实例将呈现此实例的内容的 ID。

方法

名称 说明
Dispose()

向具有匹配 SectionId的组件提供内容SectionOutlet。

显式接口实现

名称 说明
IComponent.Attach(RenderHandle)

向具有匹配 SectionId的组件提供内容SectionOutlet。

IComponent.SetParametersAsync(ParameterView)

向具有匹配 SectionId的组件提供内容SectionOutlet。

适用于