共用方式為


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

屬性值

備註

屬性 setter 僅供單元測試之用。

適用於