RelationshipEndAttributeCollection.Move Method (String, Int32)
Moves the item at the specified index to a new location in the collection with the specified attribute id.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Move ( _
attributeId As String, _
toIndex As Integer _
) As RelationshipEndAttribute
'Usage
Dim instance As RelationshipEndAttributeCollection
Dim attributeId As String
Dim toIndex As Integer
Dim returnValue As RelationshipEndAttribute
returnValue = instance.Move(attributeId, _
toIndex)
public RelationshipEndAttribute Move(
string attributeId,
int toIndex
)
public:
RelationshipEndAttribute^ Move(
String^ attributeId,
int toIndex
)
member Move :
attributeId:string *
toIndex:int -> RelationshipEndAttribute
public function Move(
attributeId : String,
toIndex : int
) : RelationshipEndAttribute
Parameters
- attributeId
Type: System.String
The id of the attribute.
- 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 to a new location in the collection with the specified attribute id.