Editare

Partajați prin


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::Vsa::IVsaItems, System::Collections::IEnumerable
public ref class VsaItems sealed : Microsoft::JScript::Vsa::IJSVsaItems, System::Collections::IEnumerable
public sealed class VsaItems : Microsoft.Vsa.IVsaItems, System.Collections.IEnumerable
public sealed class VsaItems : Microsoft.JScript.Vsa.IJSVsaItems, System.Collections.IEnumerable
type VsaItems = class
    interface IVsaItems
    interface IEnumerable
type VsaItems = class
    interface IJSVsaItems
    interface IEnumerable
Public NotInheritable Class VsaItems
Implements IEnumerable, IVsaItems
Public NotInheritable Class VsaItems
Implements IEnumerable, IJSVsaItems
Inheritance
VsaItems
Implements

Constructors

VsaItems(VsaEngine)

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

Initializes a new instance of the VsaItems class.

Properties

Count

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

Gets the number of items in the collection.

Item[Int32]

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

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

Item[String]

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

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

Methods

Close()

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

Disconnects each item in the collection from the scripting engine.

CreateItem(String, JSVsaItemType, JSVsaItemFlag)

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

Creates a new item and adds it to the collection.

CreateItem(String, VsaItemType, VsaItemFlag)

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

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()

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

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)

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

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

Remove(String)

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

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