Edytuj

Udostępnij za pośrednictwem


Series.Name Property

Definition

Returns or sets the name of the object. Read/write String.

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

Property Value

Remarks

The following table shows example values of the Name property and related properties given an OLAP data source with the unique name "[Europe].[France].[Paris]" and a non-OLAP data source with the item name "Paris".

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")

When using the Item(Object) property to reference a specific member of a collection, you can use the text index name as shown in the following table.

[Europe].[France].[Paris]Paris

Applies to