Share via


SectionContent 類別

定義

將內容提供給 SectionOutlet 具有比對 SectionId 的元件。

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()

將內容提供給 SectionOutlet 具有比對 SectionId 的元件。

屬性

ChildContent

取得或設定要呈現在對應 SectionOutlet 實例中的內容。

SectionId

取得或設定 Object 識別碼,這個識別碼會決定哪個 SectionOutlet 實例會呈現這個實例的內容。

SectionName

取得或設定 String 識別碼,這個識別碼會決定哪個 SectionOutlet 實例會呈現這個實例的內容。

方法

Dispose()

將內容提供給 SectionOutlet 具有比對 SectionId 的元件。

明確介面實作

IComponent.Attach(RenderHandle)

將內容提供給 SectionOutlet 具有比對 SectionId 的元件。

IComponent.SetParametersAsync(ParameterView)

將內容提供給 SectionOutlet 具有比對 SectionId 的元件。

適用於