ViewComponentContext.ViewComponentDescriptor Property     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the ViewComponentDescriptor for the view component being invoked.
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, setPublic Property ViewComponentDescriptor As ViewComponentDescriptorProperty Value
Remarks
The property setter is provided for unit test purposes only.