Aracılığıyla paylaş


PerspectiveCalculationCollection.Insert Yöntemi (Int32, String)

Oluşturur ve ekler bir PerspectiveCalculation, belirtilen adı taşıyan içine koleksiyon adresinde belirtilen dizini.

Ad Alanı:  Microsoft.AnalysisServices
Derleme:  Microsoft.AnalysisServices (Microsoft.AnalysisServices içinde.dll)

Sözdizimi

'Bildirim
Public Function Insert ( _
    index As Integer, _
    name As String _
) As PerspectiveCalculation
'Kullanım
Dim instance As PerspectiveCalculationCollection
Dim index As Integer
Dim name As String
Dim returnValue As PerspectiveCalculation

returnValue = instance.Insert(index, name)
public PerspectiveCalculation Insert(
    int index,
    string name
)
public:
PerspectiveCalculation^ Insert(
    int index, 
    String^ name
)
member Insert : 
        index:int * 
        name:string -> PerspectiveCalculation 
public function Insert(
    index : int, 
    name : String
) : PerspectiveCalculation

Parametreler

Kural dışı durumlar

Özel durum Koşul
ArgumentOutOfRangeException

indexsıfırdan küçük.

- veya -

index' e eşit veya daha büyük [H:Microsoft.AnalysisServices.ModelComponentCollection.Count].