TagHelperOutput.GetChildContentAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
GetChildContentAsync() |
子を非同期的に実行し、レンダリングされたコンテンツを返します。 |
GetChildContentAsync(Boolean) |
子を非同期的に実行し、レンダリングされたコンテンツを返します。 |
GetChildContentAsync(HtmlEncoder) |
スコープ内で 指定 |
GetChildContentAsync(Boolean, HtmlEncoder) |
スコープ内で 指定 |
GetChildContentAsync()
子を非同期的に実行し、レンダリングされたコンテンツを返します。
public:
System::Threading::Tasks::Task<Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContent ^> ^ GetChildContentAsync();
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent> GetChildContentAsync ();
member this.GetChildContentAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>
Public Function GetChildContentAsync () As Task(Of TagHelperContent)
戻り値
Task完了時に子によってレンダリングされたコンテンツを返す 。
注釈
このメソッドはメモされています。 複数の呼び出しでは、子がページの元 HtmlEncoderの で再実行されることはありません。
適用対象
GetChildContentAsync(Boolean)
子を非同期的に実行し、レンダリングされたコンテンツを返します。
public:
System::Threading::Tasks::Task<Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContent ^> ^ GetChildContentAsync(bool useCachedResult);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent> GetChildContentAsync (bool useCachedResult);
member this.GetChildContentAsync : bool -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>
Public Function GetChildContentAsync (useCachedResult As Boolean) As Task(Of TagHelperContent)
パラメーター
- useCachedResult
- Boolean
の場合 true
、複数の呼び出しでは、ページの元 HtmlEncoderの を使用して子が再実行されることはありません。キャッシュされたコンテンツが返されます。
戻り値
Task完了時に子によってレンダリングされたコンテンツを返す 。
適用対象
GetChildContentAsync(HtmlEncoder)
スコープ内で 指定 encoder
された を使用して子を非同期的に実行し、レンダリングされたコンテンツを返します。
public:
System::Threading::Tasks::Task<Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContent ^> ^ GetChildContentAsync(System::Text::Encodings::Web::HtmlEncoder ^ encoder);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent> GetChildContentAsync (System.Text.Encodings.Web.HtmlEncoder encoder);
member this.GetChildContentAsync : System.Text.Encodings.Web.HtmlEncoder -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>
Public Function GetChildContentAsync (encoder As HtmlEncoder) As Task(Of TagHelperContent)
パラメーター
- encoder
- HtmlEncoder
HtmlEncoderページが C# 以外IHtmlContentの式を処理するときに使用する 。
の場合 null
は、ページの現在 HtmlEncoderの を持つ子を実行します。
戻り値
Task完了時に子によってレンダリングされたコンテンツを返す 。
注釈
このメソッドはメモされています。 同じ HtmlEncoder インスタンスを持つ複数の呼び出しでは、スコープ内でそのエンコーダーを使用して子が再実行されることはありません。
適用対象
GetChildContentAsync(Boolean, HtmlEncoder)
スコープ内で 指定 encoder
された を使用して子を非同期的に実行し、レンダリングされたコンテンツを返します。
public:
System::Threading::Tasks::Task<Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContent ^> ^ GetChildContentAsync(bool useCachedResult, System::Text::Encodings::Web::HtmlEncoder ^ encoder);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent> GetChildContentAsync (bool useCachedResult, System.Text.Encodings.Web.HtmlEncoder encoder);
member this.GetChildContentAsync : bool * System.Text.Encodings.Web.HtmlEncoder -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>
Public Function GetChildContentAsync (useCachedResult As Boolean, encoder As HtmlEncoder) As Task(Of TagHelperContent)
パラメーター
- useCachedResult
- Boolean
の場合 true
、同じ HtmlEncoder を持つ複数の呼び出しによって子が再実行されることはありません。キャッシュされたコンテンツが返されます。
- encoder
- HtmlEncoder
HtmlEncoderページが C# 以外IHtmlContentの式を処理するときに使用する 。
の場合 null
は、ページの現在 HtmlEncoderの を持つ子を実行します。
戻り値
Task完了時に子によってレンダリングされたコンテンツを返す 。
適用対象
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示