StreamRenderingAttribute クラス

定義

コンポーネントとその子孫のレンダリングをストリーミングするかどうかを示す属性。

この属性は、ストリーミング レンダリングをサポートするレンダラー (Razor コンポーネント エンドポイントからのサーバー側 HTML レンダリングなど) 内でのみ有効になります。 他のホスティング モデルでは、効果はありません。

コンポーネントの種類でこの属性が宣言されていない場合、そのコンポーネントの種類のインスタンスは、親コンポーネントと同じストリーミング レンダリング モードを共有します。

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public class StreamRenderingAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type StreamRenderingAttribute = class
    inherit Attribute
Public Class StreamRenderingAttribute
Inherits Attribute
継承
StreamRenderingAttribute
属性

コンストラクター

StreamRenderingAttribute(Boolean)

のインスタンスを構築します。 StreamRenderingAttribute

プロパティ

Enabled

このコンポーネントとその子孫がレンダリングをストリーミングする必要があるかどうかを示すフラグを取得します。

適用対象