Metoda AssemblyCollection.Insert (Int32)
Tworzy i wstawia Assembly do kolekcja pod określonym indeksem.
Przestrzeń nazw: Microsoft.AnalysisServices
Zestaw: Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)
Składnia
'Deklaracja
Public Function Insert ( _
index As Integer _
) As ClrAssembly
'Użycie
Dim instance As AssemblyCollection
Dim index As Integer
Dim returnValue As ClrAssembly
returnValue = instance.Insert(index)
public ClrAssembly Insert(
int index
)
public:
ClrAssembly^ Insert(
int index
)
member Insert :
index:int -> ClrAssembly
public function Insert(
index : int
) : ClrAssembly
Parametry
- index
Typ: System.Int32
Od zera indeksu, w którym nowy Assembly będą wstawiane.
Wartość zwracana
Typ: Microsoft.AnalysisServices.ClrAssembly
Nowy, pusty Assembly.
Wyjątki
Wyjątek | Warunek |
---|---|
ArgumentOutOfRangeException | indexjest mniejszy od zera. - lub - indexjest równa lub większa niż [H:Microsoft.AnalysisServices.ModelComponentCollection.Count]. |
Zobacz także