Aracılığıyla paylaş


PerspectiveMeasureGroupCollection.Insert Yöntemi (Int32, String)

Oluşturur ve ekler bir PerspectiveMeasureGroup, belirtilen tanımlayıcısı ile 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, _
    measureGroupId As String _
) As PerspectiveMeasureGroup
'Kullanım
Dim instance As PerspectiveMeasureGroupCollection
Dim index As Integer
Dim measureGroupId As String
Dim returnValue As PerspectiveMeasureGroup

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

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].