Compartir a través de


IVsaItem Interface

Note: This API is now obsolete.

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.

Namespace:  Microsoft.Vsa
Assembly:  Microsoft.Vsa (in Microsoft.Vsa.dll)

Syntax

'Declaración
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("E0C0FFE5-7eea-4ee5-b7e4-0080c7eb0b74")> _
<ObsoleteAttribute("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
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("E0C0FFE5-7eea-4ee5-b7e4-0080c7eb0b74")]
[ObsoleteAttribute("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
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"E0C0FFE5-7eea-4ee5-b7e4-0080c7eb0b74")]
[ObsoleteAttribute(L"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 class IVsaItem
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("E0C0FFE5-7eea-4ee5-b7e4-0080c7eb0b74")>]
[<ObsoleteAttribute("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 end
public interface IVsaItem

The IVsaItem type exposes the following members.

Properties

  Name Description
Public property IsDirty Returns a value indicating whether the current in-memory representation of the item differs from the persisted representation.
Public property ItemType Gets the specified object's type, as determined by the IVsaItems.CreateItem Method method.
Public property Name Sets or gets the name of the item.

Top

Methods

  Name Description
Public method GetOption Gets implementation-specific options for a script engine.
Public method SetOption Sets implementation-specific options for a script engine.

Top

See Also

Reference

Microsoft.Vsa Namespace