編輯

共用方式為


Legend.Name Property

Definition

Returns the name of the object.

public:
 property System::String ^ Name { System::String ^ get(); };
public string Name { get; }
Public ReadOnly Property Name As String

Property Value

Remarks

The following table shows example values of the Name property and related properties given an OLAP

Caption ParisParis
Name [Europe].[France].[Paris] (read-only)Paris
SourceName [Europe].[France].[Paris] (read-only)(Same as SQL property value, read-only)
Value [Europe].[France].[Paris] (read-only)Paris

When specifying an index into the PivotItems collection, you can use the syntax shown in the following table.

expression.PivotItems("[Europe].[France].[Paris]")expression.PivotItems("Paris")

Applies to