Compartilhar via


AttributeRelationshipCollection.Move Método

Definição

Sobrecargas

Move(AttributeRelationship, Int32)

Move o AttributeRelationship especificado para uma nova posição na coleção.

Move(Int32, Int32)

Move um AttributeRelationship na coleção, da posição atual para uma nova.

Move(String, Int32)

Move um AttributeRelationship, com a AttributeID especificada, para uma nova posição na coleção.

Move(AttributeRelationship, Int32)

Move o AttributeRelationship especificado para uma nova posição na coleção.

public void Move (Microsoft.AnalysisServices.AttributeRelationship item, int toIndex);
override this.Move : Microsoft.AnalysisServices.AttributeRelationship * int -> unit
Public Sub Move (item As AttributeRelationship, toIndex As Integer)

Parâmetros

toIndex
Int32

O índice de base zero para o qual mover o AttributeRelationship especificado.

Exceções

  • O especificado AttributeRelationship não existe a coleção.
  • O toIndex especificado não é um valor válido (menor que zero ou maior que o número total de elementos).

Aplica-se a

Move(Int32, Int32)

Move um AttributeRelationship na coleção, da posição atual para uma nova.

public Microsoft.AnalysisServices.AttributeRelationship Move (int fromIndex, int toIndex);
override this.Move : int * int -> Microsoft.AnalysisServices.AttributeRelationship
Public Function Move (fromIndex As Integer, toIndex As Integer) As AttributeRelationship

Parâmetros

fromIndex
Int32

O índice de base zero do AttributeRelationship a ser movido.

toIndex
Int32

O índice de base zero para o qual mover o AttributeRelationship especificado por fromIndex.

Retornos

O AttributeRelationship que foi movido.

Exceções

  • O especificado deIndex não é um valor válido (menor que zero ou maior que o número total de elementos).
  • O toIndex especificado não é um valor válido (menor que zero ou maior que o número total de elementos).

Aplica-se a

Move(String, Int32)

Move um AttributeRelationship, com a AttributeID especificada, para uma nova posição na coleção.

public Microsoft.AnalysisServices.AttributeRelationship Move (string attributeId, int toIndex);
override this.Move : string * int -> Microsoft.AnalysisServices.AttributeRelationship
Public Function Move (attributeId As String, toIndex As Integer) As AttributeRelationship

Parâmetros

attributeId
String

A AttributeID do AttributeRelationship a ser movida.

toIndex
Int32

O índice de base zero para o qual mover o AttributeRelationship especificado por fromIndex.

Retornos

O AttributeRelationship que foi movido.

Exceções

  • attributeId não é um AttributeID válido para um AttributeRelationship na coleção.
  • O toIndex especificado não é um valor válido (menor que zero ou maior que o número total de elementos).

Aplica-se a