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 el elemento de código que el motor de scripts va a compilar.

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 de origen.

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

CodeDOM
Obsoletos.

Obtiene el Code Document Object Model (CodeDOM) representado en el elemento de código.

IsDirty
Obsoletos.

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

(Heredado de IVsaItem)
ItemType
Obsoletos.

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

(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 lo hubiera.

Métodos

AddEventSource(String, String)
Obsoletos.

Agrega un origen de eventos al elemento de código. El elemento de código usa el origen de eventos para enlazar un evento al origen de eventos indicado; para ello, llama al método IVsaSite.GetEventSourceInstance implementado por el host.

AppendSourceText(String)
Obsoletos.

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

GetOption(String)
Obsoletos.

Obtiene las opciones específicas de implementación de un motor de scripts.

(Heredado de IVsaItem)
RemoveEventSource(String)
Obsoletos.

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

SetOption(String, Object)
Obsoletos.

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

(Heredado de IVsaItem)

Se aplica a