編輯

共用方式為


IVsaScriptScope Interface

Definition

Defines methods for resolving scope. The global scope object of the VsaEngine implements this interface.

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

public interface class IVsaScriptScope : Microsoft::Vsa::IVsaItem
public interface class IVsaScriptScope : Microsoft::JScript::Vsa::IJSVsaItem
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("ED4BAE22-2F3C-419a-B487-CF869E716B95")]
public interface IVsaScriptScope : Microsoft.Vsa.IVsaItem
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("ED4BAE22-2F3C-419a-B487-CF869E716B95")]
public interface IVsaScriptScope : Microsoft.JScript.Vsa.IJSVsaItem
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("ED4BAE22-2F3C-419a-B487-CF869E716B95")>]
type IVsaScriptScope = interface
    interface IVsaItem
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("ED4BAE22-2F3C-419a-B487-CF869E716B95")>]
type IVsaScriptScope = interface
    interface IJSVsaItem
Public Interface IVsaScriptScope
Implements IVsaItem
Public Interface IVsaScriptScope
Implements IJSVsaItem
Attributes
Implements

Properties

IsDirty

Returns a value indicating whether the current in-memory representation of the item differs from the persisted representation.

(Inherited from IJSVsaItem)
ItemType

Gets the specified object's type, as determined by the CreateItem(String, JSVsaItemType, JSVsaItemFlag) method.

(Inherited from IJSVsaItem)
Name

Gets or sets the name of the item.

(Inherited from IJSVsaItem)
Parent

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

When implemented in a class, gets a reference to the parent object.

Methods

AddItem(String, JSVsaItemType)

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

When implemented in a class, adds an item to the scope.

AddItem(String, VsaItemType)

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

When implemented in a class, adds an item to the scope.

CreateDynamicItem(String, JSVsaItemType)

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

When implemented in a class, adds an item to the scope. The VsaEngine must be running to use this method.

CreateDynamicItem(String, VsaItemType)

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

When implemented in a class, adds an item to the scope. The VsaEngine must be running to use this method.

GetItem(String)

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

When implemented in a class, gets the item from the scope that is designated by the specified name.

GetItemAtIndex(Int32)

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

When implemented in a class, gets the item from the scope that is designated by the specified index value.

GetItemCount()

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

When implemented in a class, gets the number of items in the scope.

GetObject()

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

When implemented in a class, gets a reference to the global scope.

GetOption(String)

Gets implementation-specific options for a script engine.

(Inherited from IJSVsaItem)
RemoveItem(IJSVsaItem)

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

When implemented in a class, removes the specified IJSVsaItem object from the scope.

RemoveItem(IVsaItem)

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

When implemented in a class, removes the specified IVsaItem object from the scope.

RemoveItem(String)

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

When implemented in a class, removes the item that is designated by the specified name from the scope.

RemoveItemAtIndex(Int32)

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

When implemented in a class, removes the item that is designated by the specified index value from the scope.

SetOption(String, Object)

Sets implementation-specific options for a script engine.

(Inherited from IJSVsaItem)

Applies to

See also