Upraviť

Zdieľať cez


IVsaItems Interface

Definition

Caution

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.

Defines an interface for a collection of IVsaItem objects, which can be addressed either by name or by index.

public interface class IVsaItems : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("0AB1EB6A-12BD-44d0-B941-0580ADFC73DE")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsaItems : System.Collections.IEnumerable
[System.Runtime.InteropServices.Guid("0AB1EB6A-12BD-44d0-B941-0580ADFC73DE")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete("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 : System.Collections.IEnumerable
[<System.Runtime.InteropServices.Guid("0AB1EB6A-12BD-44d0-B941-0580ADFC73DE")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsaItems = interface
    interface IEnumerable
[<System.Runtime.InteropServices.Guid("0AB1EB6A-12BD-44d0-B941-0580ADFC73DE")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete("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
Public Interface IVsaItems
Implements IEnumerable
Derived
Attributes
Implements

Properties

Count

Gets the number of items in the specified collection.

Item[Int32]

Gets an item from the collection by its index value.

Item[String]

Gets an item from the collection by its name.

Methods

CreateItem(String, VsaItemType, VsaItemFlag)

Creates a new instance of one of the IVsaItem types, as defined in the VsaItemType enumeration.

GetEnumerator()

Returns an enumerator that iterates through a collection.

(Inherited from IEnumerable)
Remove(Int32)

Removes an item from the collection, as specified by its index value.

Remove(String)

Removes an item from the collection, as specified by its name.

Extension Methods

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to