次の方法で共有


ChunkHelper.GetModelChunk(ChunkTree) メソッド

定義

指定した を ModelChunk 使用して生成されたページのモデル名を決定するために使用される を返します。 chunkTree

public:
 static Microsoft::AspNetCore::Mvc::Razor::ModelChunk ^ GetModelChunk(Microsoft::AspNetCore::Razor::Chunks::ChunkTree ^ chunkTree);
public static Microsoft.AspNetCore.Mvc.Razor.ModelChunk GetModelChunk(Microsoft.AspNetCore.Razor.Chunks.ChunkTree chunkTree);
static member GetModelChunk : Microsoft.AspNetCore.Razor.Chunks.ChunkTree -> Microsoft.AspNetCore.Mvc.Razor.ModelChunk
Public Shared Function GetModelChunk (chunkTree As ChunkTree) As ModelChunk

パラメーター

chunkTree
ChunkTree

ChunkTreeのスキャン対象ModelChunkの 。

戻り値

見つかった場合は のChunkTree最後ModelChunknullそれ以外の場合は 。

適用対象