Compartir a través de


AggregationDesignAttributeCollection.Insert Método

Definición

Sobrecargas

Insert(Int32, AggregationDesignAttribute)

Inserta el elemento AggregationDesignAttribute especificado en la colección en el índice especificado.

Insert(Int32, String)

Crea un objeto AggregationDesignAttribute con el valor AttributeID especificado, lo inserta en la colección en el índice especificado y devuelve el AggregationDesignAttribute creado.

Insert(Int32, AggregationDesignAttribute)

Inserta el elemento AggregationDesignAttribute especificado en la colección en el índice especificado.

public void Insert (int index, Microsoft.AnalysisServices.AggregationDesignAttribute item);
override this.Insert : int * Microsoft.AnalysisServices.AggregationDesignAttribute -> unit
Public Sub Insert (index As Integer, item As AggregationDesignAttribute)

Parámetros

index
Int32

Índice de base cero en el que se inserta la clase AggregationDesignAttribute.

Excepciones

El índice especificado no es un valor válido (menor que cero o mayor que el número total de elementos).

  • El elemento especificado es una referencia null (Nothing en Visual Basic).
  • El elemento especificado ya existe en la colección.
  • El AttributeID del especificado AggregationDesignAttribute no es válido en la colección.
  • El nivel de compatibilidad del especificado AggregationDesignAttribute no es válido en la colección.

Se aplica a

Insert(Int32, String)

Crea un objeto AggregationDesignAttribute con el valor AttributeID especificado, lo inserta en la colección en el índice especificado y devuelve el AggregationDesignAttribute creado.

public Microsoft.AnalysisServices.AggregationDesignAttribute Insert (int index, string attributeId);
override this.Insert : int * string -> Microsoft.AnalysisServices.AggregationDesignAttribute
Public Function Insert (index As Integer, attributeId As String) As AggregationDesignAttribute

Parámetros

index
Int32

Índice de base cero en el que se inserta la clase AggregationDesignAttribute.

attributeId
String

AttributeID del nuevo objeto AggregationDesignAttribute.

Devoluciones

Objeto AggregationDesignAttribute recién creado.

Excepciones

El índice especificado no es un valor válido (menor que cero o mayor que el número total de elementos).

El elemento AttributeID especificado no es válido en la colección.

Se aplica a