ViewComponentContext.ViewComponentDescriptor Property

Definition

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, set
Public Property ViewComponentDescriptor As ViewComponentDescriptor

Property Value

Remarks

The property setter is provided for unit test purposes only.

Applies to