ActionCollection.Insert ActionCollection.Insert ActionCollection.Insert Method

Definition

Inserts an Action into the collection.

Overloads

Insert(Int32, String, String) Insert(Int32, String, String) Insert(Int32, String, String)

Creates and inserts an Action, with the specified name and identifier, into the collection at the specified index.

Insert(Int32, String) Insert(Int32, String) Insert(Int32, String)

Creates and inserts an Action, with the specified identifier, into the collection at the specified index.

Insert(Int32, Action) Insert(Int32, Action) Insert(Int32, Action)

Inserts an Action into the collection at the specified index.

Insert(Int32) Insert(Int32) Insert(Int32)

Creates and inserts an Action into the collection at the specified index.

Insert(Int32, String, String) Insert(Int32, String, String) Insert(Int32, String, String)

Creates and inserts an Action, with the specified name and identifier, into the collection at the specified index.

public:
 Microsoft::AnalysisServices::StandardAction ^ Insert(int index, System::String ^ name, System::String ^ id);
public Microsoft.AnalysisServices.StandardAction Insert (int index, string name, string id);
Public Function Insert (index As Integer, name As String, id As String) As StandardAction
Parameters
index
Int32 Int32 Int32

The zero-based index at which the new Action will be inserted.

name
String String String

The name of the Action to be inserted.

id
String String String

The identifier of the Action to be inserted.

Returns
Exceptions

Insert(Int32, String) Insert(Int32, String) Insert(Int32, String)

Creates and inserts an Action, with the specified identifier, into the collection at the specified index.

public:
 Microsoft::AnalysisServices::StandardAction ^ Insert(int index, System::String ^ name);
public Microsoft.AnalysisServices.StandardAction Insert (int index, string name);
Public Function Insert (index As Integer, name As String) As StandardAction
Parameters
index
Int32 Int32 Int32

The zero-based index at which the new Action will be inserted.

name
String String String

The name of the Action to be inserted.

Returns
Exceptions

Insert(Int32, Action) Insert(Int32, Action) Insert(Int32, Action)

Inserts an Action into the collection at the specified index.

public:
 void Insert(int index, Microsoft::AnalysisServices::Action ^ item);
public void Insert (int index, Microsoft.AnalysisServices.Action item);
Public Sub Insert (index As Integer, item As Action)
Parameters
index
Int32 Int32 Int32

The zero-based index at which the new Action will be inserted.

item
Action Action Action

The Action to be inserted.

Exceptions

Insert(Int32) Insert(Int32) Insert(Int32)

Creates and inserts an Action into the collection at the specified index.

public:
 Microsoft::AnalysisServices::StandardAction ^ Insert(int index);
public Microsoft.AnalysisServices.StandardAction Insert (int index);
Public Function Insert (index As Integer) As StandardAction
Parameters
index
Int32 Int32 Int32

The zero-based index at which the new Action will be inserted.

Returns
Exceptions

Applies to