IVsaCodeItem Interfaz

Definición

Precaución

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.

Representa un elemento de código que va a compilar el motor de scripts.

public interface class IVsaCodeItem : Microsoft::Vsa::IVsaItem
[System.Runtime.InteropServices.Guid("E0C0FFE7-7eea-4ee5-b7e4-0080c7eb0b74")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsaCodeItem : Microsoft.Vsa.IVsaItem
[System.Runtime.InteropServices.Guid("E0C0FFE7-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 IVsaCodeItem : Microsoft.Vsa.IVsaItem
[<System.Runtime.InteropServices.Guid("E0C0FFE7-7eea-4ee5-b7e4-0080c7eb0b74")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsaCodeItem = interface
    interface IVsaItem
[<System.Runtime.InteropServices.Guid("E0C0FFE7-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 IVsaCodeItem = interface
    interface IVsaItem
Public Interface IVsaCodeItem
Implements IVsaItem
Derivado
Atributos
Implementaciones

Comentarios

El elemento de código especificado puede contener clases, módulos u otro texto fuente.

No se requieren permisos para llamar a ningún miembro de la interfaz IVsaCodeItem.

El motor de scripts implementa esta interfaz para agregar elementos de código.

Propiedades

Nombre Description
CodeDOM
Obsoletos.

Obtiene el modelo de objetos de documento de código (CodeDOM) representado en el elemento de código.

IsDirty
Obsoletos.

Devuelve un valor que indica si la representación actual en memoria del elemento difiere de la representación persistente.

(Heredado de IVsaItem)
ItemType
Obsoletos.

Obtiene el tipo del objeto especificado, determinado por el CreateItem(String, VsaItemType, VsaItemFlag) método .

(Heredado de IVsaItem)
Name
Obsoletos.

Obtiene o establece el nombre del elemento.

(Heredado de IVsaItem)
SourceText
Obsoletos.

Obtiene o establece el texto de un elemento de código especificado, incluido el código generado automáticamente, si existe.

Métodos

Nombre Description
AddEventSource(String, String)
Obsoletos.

Agrega un origen de evento al elemento de código. El elemento de código usa el origen del evento para enlazar un evento al origen de eventos con nombre llamando al método IVsaSite.GetEventSourceInstance, que implementa el host.

AppendSourceText(String)
Obsoletos.

Anexa el texto especificado al final del elemento de código.

GetOption(String)
Obsoletos.

Obtiene opciones específicas de implementación para un motor de script.

(Heredado de IVsaItem)
RemoveEventSource(String)
Obsoletos.

Quita el origen de eventos especificado del elemento de código.

SetOption(String, Object)
Obsoletos.

Establece opciones específicas de implementación para un motor de scripts.

(Heredado de IVsaItem)

Se aplica a