共用方式為


RelationshipEndAttributeCollection.Move 方法 (Int32, Int32)

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

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Function Move ( _
    fromIndex As Integer, _
    toIndex As Integer _
) As RelationshipEndAttribute
'用途
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

參數

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

傳回值

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

請參閱

參考

RelationshipEndAttributeCollection 類別

Move 多載

Microsoft.AnalysisServices 命名空間