PerspectiveCollection.Add PerspectiveCollection.Add PerspectiveCollection.Add Method

Definition

Creates and adds a Perspective to the collection.

Overloads

Add() Add() Add()

Creates and adds a Perspective to the end of the collection.

Add(Perspective) Add(Perspective) Add(Perspective)

Adds a Perspective to the end of the collection.

Add(String) Add(String) Add(String)

Creates and adds a Perspective, with the specified identifier, to the end of the collection.

Add(String, String) Add(String, String) Add(String, String)

Creates and adds a Perspective, with the specified name and identifier, to the end of the collection.

Add() Add() Add()

Creates and adds a Perspective to the end of the collection.

public:
 Microsoft::AnalysisServices::Perspective ^ Add();
public Microsoft.AnalysisServices.Perspective Add ();
Public Function Add () As Perspective
Returns

Add(Perspective) Add(Perspective) Add(Perspective)

Adds a Perspective to the end of the collection.

public:
 int Add(Microsoft::AnalysisServices::Perspective ^ item);
public int Add (Microsoft.AnalysisServices.Perspective item);
Public Function Add (item As Perspective) As Integer
Parameters
Returns

The zero-based index at which the Perspective has been added.

Add(String) Add(String) Add(String)

Creates and adds a Perspective, with the specified identifier, to the end of the collection.

public:
 Microsoft::AnalysisServices::Perspective ^ Add(System::String ^ name);
public Microsoft.AnalysisServices.Perspective Add (string name);
Public Function Add (name As String) As Perspective
Parameters
name
String String String

The identifier of the Perspective to add.

Returns

The zero-based index at which the Perspective has been added.

Add(String, String) Add(String, String) Add(String, String)

Creates and adds a Perspective, with the specified name and identifier, to the end of the collection.

public:
 Microsoft::AnalysisServices::Perspective ^ Add(System::String ^ name, System::String ^ id);
public Microsoft.AnalysisServices.Perspective Add (string name, string id);
Public Function Add (name As String, id As String) As Perspective
Parameters
name
String String String

The name of the Perspective to add.

id
String String String

The identifier of the Perspective to add.

Returns

The zero-based index at which the Perspective has been added.

Applies to