مشاركة عبر


RelationshipEndAttributeCollection.Move Method (Int32, Int32)

Moves the item at the specified index to a new location in the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function Move ( _
    fromIndex As Integer, _
    toIndex As Integer _
) As RelationshipEndAttribute
'Usage
Dim instance As RelationshipEndAttributeCollection 
Dim fromIndex As Integer 
Dim toIndex As Integer 
Dim returnValue As RelationshipEndAttribute 

returnValue = instance.Move(fromIndex, _
    toIndex)
public RelationshipEndAttribute Move(
    int fromIndex,
    int toIndex
)
public:
RelationshipEndAttribute^ Move(
    int fromIndex, 
    int toIndex
)
member Move : 
        fromIndex:int * 
        toIndex:int -> RelationshipEndAttribute
public function Move(
    fromIndex : int, 
    toIndex : int
) : RelationshipEndAttribute

Parameters

  • fromIndex
    Type: System.Int32
    The zero-based index specifying the location of the item to be moved.
  • toIndex
    Type: System.Int32
    The zero-based index specifying the new location of the item.

Return Value

Type: Microsoft.AnalysisServices.RelationshipEndAttribute
The item at the specified index, in a new location in the collection.

See Also

Reference

RelationshipEndAttributeCollection Class

Move Overload

Microsoft.AnalysisServices Namespace