VsaItems Class

Definition

Represents a collection of IJSVsaItem objects that can be addressed either by name or by index.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class VsaItems sealed : Microsoft::JScript::Vsa::IJSVsaItems, System::Collections::IEnumerable
public sealed class VsaItems : Microsoft.JScript.Vsa.IJSVsaItems, System.Collections.IEnumerable
type VsaItems = class
    interface IJSVsaItems
    interface IEnumerable
Public NotInheritable Class VsaItems
Implements IEnumerable, IJSVsaItems
Inheritance
VsaItems
Implements

Constructors

VsaItems(VsaEngine)

Initializes a new instance of the VsaItems class.

Properties

Count

Gets the number of items in the collection.

Item[Int32]

Gets the item from the collection that is designated by the specified index value.

Item[String]

Gets the item from the collection that is designated by the specified name.

Methods

Close()

Disconnects each item in the collection from the scripting engine.

CreateItem(String, JSVsaItemType, JSVsaItemFlag)

Creates a new item and adds it to the collection.

CreateItem(String, VsaItemType, VsaItemFlag)

Creates a new item and adds it to the collection.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator()

Gets an enumerator that iterates over the collection.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(Int32)

Removes the item that is designated by the specified index value from the collection.

Remove(String)

Removes the item that is designated by the specified name from the collection.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

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.

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to

See also