ViewComponentContext.ViewContext 属性

定义

获取或设置 ViewContext

public:
 property Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^ ViewContext { Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^ get(); void set(Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^ value); };
public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get; set; }
member this.ViewContext : Microsoft.AspNetCore.Mvc.Rendering.ViewContext with get, set
Public Property ViewContext As ViewContext

属性值

注解

属性资源库仅用于单元测试目的。

适用于