AggregationDesignAttributeCollection.Insert Yöntemi (Int32, String)
Oluşturur ve ekler bir AggregationDesignAttribute, 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, _
attributeId As String _
) As AggregationDesignAttribute
'Kullanım
Dim instance As AggregationDesignAttributeCollection
Dim index As Integer
Dim attributeId As String
Dim returnValue As AggregationDesignAttribute
returnValue = instance.Insert(index, attributeId)
public AggregationDesignAttribute Insert(
int index,
string attributeId
)
public:
AggregationDesignAttribute^ Insert(
int index,
String^ attributeId
)
member Insert :
index:int *
attributeId:string -> AggregationDesignAttribute
public function Insert(
index : int,
attributeId : String
) : AggregationDesignAttribute
Parametreler
- index
Tür: System.Int32
Hangi sıfır tabanlı dizin yeni AggregationDesignAttribute eklenecektir.
- attributeId
Tür: System.String
Dönüş Değeri
Tür: Microsoft.AnalysisServices.AggregationDesignAttribute
Bir yeni, boş AggregationDesignAttribute.
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]. |