CubeAttributeCollection.Move Yöntemi (String, Int32)
Hareket bir CubeAttribute, belirtilen tanımlayıcı belirtilen dizin içinde ile koleksiyon.
Ad Alanı: Microsoft.AnalysisServices
Derleme: Microsoft.AnalysisServices (Microsoft.AnalysisServices içinde.dll)
Sözdizimi
'Bildirim
Public Function Move ( _
attributeId As String, _
toIndex As Integer _
) As CubeAttribute
'Kullanım
Dim instance As CubeAttributeCollection
Dim attributeId As String
Dim toIndex As Integer
Dim returnValue As CubeAttribute
returnValue = instance.Move(attributeId, _
toIndex)
public CubeAttribute Move(
string attributeId,
int toIndex
)
public:
CubeAttribute^ Move(
String^ attributeId,
int toIndex
)
member Move :
attributeId:string *
toIndex:int -> CubeAttribute
public function Move(
attributeId : String,
toIndex : int
) : CubeAttribute
Parametreler
- attributeId
Tür: System.String
- toIndex
Tür: System.Int32
Taşımak için sıfır tabanlı dizin CubeAttribute tarafından belirtilen attributeID.
Dönüş Değeri
Tür: Microsoft.AnalysisServices.CubeAttribute
CubeAttribute Taşınacak.
Kural dışı durumlar
Özel durum | Koşul |
---|---|
ArgumentOutOfRangeException | fromIndexsıfırdan küçük. - veya - fromIndex' e eşit veya daha büyük [H:Microsoft.AnalysisServices.ModelComponentCollection.Count]. - veya - attributeIDkoleksiyon tarafından yer alıyor. |
Ayrıca bkz.