Metoda DataSourceViewCollection.Insert (Int32)
Tworzy i wstawia DataSourceView 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 DataSourceView
'Użycie
Dim instance As DataSourceViewCollection
Dim index As Integer
Dim returnValue As DataSourceView
returnValue = instance.Insert(index)
public DataSourceView Insert(
int index
)
public:
DataSourceView^ Insert(
int index
)
member Insert :
index:int -> DataSourceView
public function Insert(
index : int
) : DataSourceView
Parametry
- index
Typ: System.Int32
Od zera indeksu, w którym nowy DataSourceView będą wstawiane.
Wartość zwracana
Typ: Microsoft.AnalysisServices.DataSourceView
Nowy, pusty DataSourceView.
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