Свойство Item
Gets or sets the ClrAssemblyFile at the specified index from the collection.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Default Property Item ( _
index As Integer _
) As ClrAssemblyFile
Get
Set
'Применение
Dim instance As ClrAssemblyFileCollection
Dim index As Integer
Dim value As ClrAssemblyFile
value = instance(index)
instance(index) = value
public ClrAssemblyFile this[
int index
] { get; set; }
public:
property ClrAssemblyFile^ default[int index] {
ClrAssemblyFile^ get (int index);
void set (int index, ClrAssemblyFile^ value);
}
member Item : ClrAssemblyFile with get, set
JScript поддерживает использование индексированных свойств, но не объявление новых.
Параметры
- index
Тип System. . :: . .Int32
The zero-based index of the ClrAssemblyFile to be returned.
Значение свойства
Тип Microsoft.AnalysisServices. . :: . .ClrAssemblyFile
The ClrAssemblyFile at the specified index.
Исключения
| Исключение | Условие |
|---|---|
| ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than [Microsoft.AnalysisServices.ClrAssemblyFileCollection.Count]. |