다음을 통해 공유


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 마지막 ModelChunk 이며, null 그렇지 않으면 입니다.

적용 대상