ViewComponentContext.ViewComponentDescriptor 属性

定义

获取或设置 ViewComponentDescriptor 要调用的视图组件的。

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

属性值

ViewComponentDescriptor

注解

属性 setter 仅用于单元测试目的。

适用于