TagHelperOutput.GetChildContentAsync メソッド

定義

オーバーロード

GetChildContentAsync()

子を非同期的に実行し、レンダリングされたコンテンツを返します。

GetChildContentAsync(Boolean)

子を非同期的に実行し、レンダリングされたコンテンツを返します。

GetChildContentAsync(HtmlEncoder)

スコープ内で 指定 encoder された を使用して子を非同期的に実行し、レンダリングされたコンテンツを返します。

GetChildContentAsync(Boolean, HtmlEncoder)

スコープ内で 指定 encoder された を使用して子を非同期的に実行し、レンダリングされたコンテンツを返します。

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完了時に子によってレンダリングされたコンテンツを返す 。

適用対象