ChunkHelper.GetModelChunk(ChunkTree) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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 否則為 。