PerspectiveHierarchyCollection.Move Yöntemi (String, Int32)
Hareket PerspectiveHierarchy , belirtilen tanımlayıcı belirtilen dizin içinde olan koleksiyon.
Ad Alanı: Microsoft.AnalysisServices
Derleme: Microsoft.AnalysisServices (Microsoft.AnalysisServices içinde.dll)
Sözdizimi
'Bildirim
Public Function Move ( _
hierarchyId As String, _
toIndex As Integer _
) As PerspectiveHierarchy
'Kullanım
Dim instance As PerspectiveHierarchyCollection
Dim hierarchyId As String
Dim toIndex As Integer
Dim returnValue As PerspectiveHierarchy
returnValue = instance.Move(hierarchyId, _
toIndex)
public PerspectiveHierarchy Move(
string hierarchyId,
int toIndex
)
public:
PerspectiveHierarchy^ Move(
String^ hierarchyId,
int toIndex
)
member Move :
hierarchyId:string *
toIndex:int -> PerspectiveHierarchy
public function Move(
hierarchyId : String,
toIndex : int
) : PerspectiveHierarchy
Parametreler
- hierarchyId
Tür: System.String
- toIndex
Tür: System.Int32
Taşımak için sıfır tabanlı dizin PerspectiveHierarchy tarafından belirtilen hierarchyID.
Dönüş Değeri
Tür: Microsoft.AnalysisServices.PerspectiveHierarchy
PerspectiveHierarchy İçin taşıma.
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 - hierarchyIDiçinde yok koleksiyon. |