IVsaItems - интерфейс
Примечание. Данный API устарел.
Определяет интерфейс для коллекции объектов IVsaItem, к которым можно обращаться по имени или по индексу.
Пространство имен: Microsoft.Vsa
Сборка: Microsoft.Vsa (в Microsoft.Vsa.dll)
Синтаксис
'Декларация
<GuidAttribute("0AB1EB6A-12BD-44d0-B941-0580ADFC73DE")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<ObsoleteAttribute("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")> _
Public Interface IVsaItems _
Inherits IEnumerable
[GuidAttribute("0AB1EB6A-12BD-44d0-B941-0580ADFC73DE")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[ObsoleteAttribute("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")]
public interface IVsaItems : IEnumerable
[GuidAttribute(L"0AB1EB6A-12BD-44d0-B941-0580ADFC73DE")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[ObsoleteAttribute(L"Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")]
public interface class IVsaItems : IEnumerable
[<GuidAttribute("0AB1EB6A-12BD-44d0-B941-0580ADFC73DE")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<ObsoleteAttribute("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")>]
type IVsaItems =
interface
interface IEnumerable
end
public interface IVsaItems extends IEnumerable
Тип IVsaItems предоставляет следующие члены.
Свойства
Имя | Описание | |
---|---|---|
Count | Возвращает число элементов в указанной коллекции. | |
Item[Int32] | Возвращает элемент из коллекции по значению индекса. | |
Item[String] | Возвращает элемент из коллекции по имени. |
В начало страницы
Методы
Имя | Описание | |
---|---|---|
CreateItem | Создает экземпляр одного из типов IVsaItem, определенных в перечислении VsaItemType. | |
GetEnumerator | Возвращает перечислитель, который осуществляет итерацию по коллекции. (Унаследовано от IEnumerable.) | |
Remove(Int32) | Удаляет элемент из коллекции по значению индекса. | |
Remove(String) | Удаляет элемент из коллекции по имени. |
В начало страницы