PerspectiveAttributeCollection.Move Yöntemi (String, Int32)
Hareket PerspectiveAttribute , 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 ( _
attributeId As String, _
toIndex As Integer _
) As PerspectiveAttribute
'Kullanım
Dim instance As PerspectiveAttributeCollection
Dim attributeId As String
Dim toIndex As Integer
Dim returnValue As PerspectiveAttribute
returnValue = instance.Move(attributeId, _
toIndex)
public PerspectiveAttribute Move(
string attributeId,
int toIndex
)
public:
PerspectiveAttribute^ Move(
String^ attributeId,
int toIndex
)
member Move :
attributeId:string *
toIndex:int -> PerspectiveAttribute
public function Move(
attributeId : String,
toIndex : int
) : PerspectiveAttribute
Parametreler
- attributeId
Tür: System.String
- toIndex
Tür: System.Int32
Taşımak için sıfır tabanlı dizin PerspectiveAttribute tarafından belirtilen attributeID.
Dönüş Değeri
Tür: Microsoft.AnalysisServices.PerspectiveAttribute
PerspectiveAttribute 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 - attributeIDiçinde yok koleksiyon. |