Share via


IVsaItem Interface

Defines an interface for all items added to the .NET script engine, including code items, reference items, and global items. It defines generic properties and methods that apply to all item types recognized by the engine.

public: __interface IVsaItem;
public interface IVsaItem;
Public Interface IVsaItem

Properties

The following table shows the properties of the IVsaItem interface.

Property

Description

IsDirty

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

ItemType

Gets the specified object's type, as determined by the IVsaItems.CreateItem method.

Name

Sets or gets the name of the item.

Methods

The following table shows the methods of the IVsaEngine interface, with brief descriptions for each.

Method

Description

GetOption

Gets implementation-specific options for a script engine.

SetOption

Sets implementation-specific options for a script engine.

Remarks

IVsaItem is an abstract interface from which other Script for the .NET Framework interfaces derive. You can access the methods and properties of IVsaItem interface through its derivatives: IVsaGlobalItem, IVsaReferenceItem, and IVsaCodeItem.

Because the item itself does not communicate outside of the engine, no permissions are required to call any of its members.

Requirements

DLL: Microsoft.Vsa.dll

See Also

Reference

IVsaEngine Interface