共用方式為


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 的 。

傳回

ModelChunk如果找到,則為最後 ChunkTree 一個 , null 否則為 。

適用於