共用方式為


Chart.ChartLegends 屬性

Gets or sets the set of legends for the chart.

命名空間:  Microsoft.ReportingServices.RdlObjectModel
組件:  Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)

語法

'宣告
Public Property ChartLegends As IList(Of ChartLegend)
    Get 
    Set
'用途
Dim instance As Chart 
Dim value As IList(Of ChartLegend)

value = instance.ChartLegends

instance.ChartLegends = value
public IList<ChartLegend> ChartLegends { get; set; }
public:
property IList<ChartLegend^>^ ChartLegends {
    IList<ChartLegend^>^ get ();
    void set (IList<ChartLegend^>^ value);
}
member ChartLegends : IList<ChartLegend> with get, set
function get ChartLegends () : IList<ChartLegend>
function set ChartLegends (value : IList<ChartLegend>)

屬性值

型別:System.Collections.Generic.IList<ChartLegend>
An IList<T> object.

請參閱

參考

Chart 類別

Microsoft.ReportingServices.RdlObjectModel 命名空間