IVsaItem, interface

Remarque : cette API est maintenant obsolète.

Définit une interface pour tous les éléments ajoutés au moteur de script .NET, y compris les éléments de code, les éléments de référence et les éléments globaux. Elle définit les propriétés et les méthodes génériques qui s'appliquent à tous les types d'élément reconnus par le moteur.

Espace de noms :  Microsoft.Vsa
Assembly :  Microsoft.Vsa (dans Microsoft.Vsa.dll)

Syntaxe

'Déclaration
<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

Le type IVsaItem expose les membres suivants.

Propriétés

  Nom Description
Propriété publique IsDirty Retourne une valeur indiquant si la représentation en mémoire actuelle de l'élément diffère de la représentation persistante.
Propriété publique ItemType Obtient le type de l'objet spécifié, tel qu'il est déterminé par la méthode IVsaItems.CreateItem Method.
Propriété publique Name Définit ou obtient le nom de l'élément.

Début

Méthodes

  Nom Description
Méthode publique GetOption Obtient des options spécifiques à l'implémentation pour un moteur de script.
Méthode publique SetOption Définit des options spécifiques à l'implémentation pour un moteur de script.

Début

Voir aussi

Référence

Microsoft.Vsa, espace de noms