Bewerken

Delen via


IVsaItem 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 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 class IVsaItem
[System.Runtime.InteropServices.Guid("E0C0FFE5-7eea-4ee5-b7e4-0080c7eb0b74")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsaItem
[System.Runtime.InteropServices.Guid("E0C0FFE5-7eea-4ee5-b7e4-0080c7eb0b74")]
[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 IVsaItem
[<System.Runtime.InteropServices.Guid("E0C0FFE5-7eea-4ee5-b7e4-0080c7eb0b74")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsaItem = interface
[<System.Runtime.InteropServices.Guid("E0C0FFE5-7eea-4ee5-b7e4-0080c7eb0b74")>]
[<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 IVsaItem = interface
Public Interface IVsaItem
Derived
Attributes

Properties

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 CreateItem(String, VsaItemType, VsaItemFlag) method.

Name

Gets or sets the name of the item.

Methods

GetOption(String)

Gets implementation-specific options for a script engine.

SetOption(String, Object)

Sets implementation-specific options for a script engine.

Applies to