IVsaCodeItem インターフェイス
メモ : このインターフェイスは、互換性のために残されています。
スクリプト エンジンでコンパイルするコード アイテムを表します。 名前空間: Microsoft.Vsaアセンブリ: Microsoft.Vsa (microsoft.vsa.dll 内)

<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.")> _ <InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _ <GuidAttribute("E0C0FFE7-7eea-4ee5-b7e4-0080c7eb0b74")> _ Public Interface IVsaCodeItem Inherits IVsaItem
[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.")] [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)] [GuidAttribute("E0C0FFE7-7eea-4ee5-b7e4-0080c7eb0b74")] public interface IVsaCodeItem : IVsaItem
[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.")] [InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)] [GuidAttribute(L"E0C0FFE7-7eea-4ee5-b7e4-0080c7eb0b74")] public interface class IVsaCodeItem : IVsaItem
/** @attribute 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.") */ /** @attribute InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown) */ /** @attribute GuidAttribute("E0C0FFE7-7eea-4ee5-b7e4-0080c7eb0b74") */ public interface IVsaCodeItem extends IVsaItem
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.") InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown) GuidAttribute("E0C0FFE7-7eea-4ee5-b7e4-0080c7eb0b74") public interface IVsaCodeItem extends IVsaItem

指定するコード アイテムには、クラス、モジュール、またはその他のソース テキストを含めることができます。

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


IVsaCodeItem プロパティ

名前 | 説明 | |
---|---|---|
![]() | CodeDOM | コード アイテムで表現される CodeDOM (Code Document Object Model) を取得します。 |
![]() | SourceText | 指定したコード アイテムのテキストを設定または取得します。自動生成されたコードがある場合は、これも含めます。 |

IVsaCodeItem メソッド

名前 | 説明 | |
---|---|---|
![]() | AddEventSource | イベント ソースをコード アイテムに追加します。コード アイテムはイベント ソースを使用し、ホストで実装された IVsaSite.GetEventSourceInstance メソッドを呼び出して、イベントを指定したイベント ソースにフックします。 |
![]() | AppendSourceText | 指定したテキストをコード アイテムの末尾に追加します。 |
![]() | RemoveEventSource | 指定したイベント ソースをコード アイテムから削除します。 |

IVsaCodeItem メンバ
スクリプト エンジンでコンパイルするコード アイテムを表します。
IVsaCodeItem データ型で公開されるメンバを以下の表に示します。

名前 | 説明 | |
---|---|---|
![]() | CodeDOM | コード アイテムで表現される CodeDOM (Code Document Object Model) を取得します。 |
![]() | SourceText | 指定したコード アイテムのテキストを設定または取得します。自動生成されたコードがある場合は、これも含めます。 |

名前 | 説明 | |
---|---|---|
![]() | AddEventSource | イベント ソースをコード アイテムに追加します。コード アイテムはイベント ソースを使用し、ホストで実装された IVsaSite.GetEventSourceInstance メソッドを呼び出して、イベントを指定したイベント ソースにフックします。 |
![]() | AppendSourceText | 指定したテキストをコード アイテムの末尾に追加します。 |
![]() | RemoveEventSource | 指定したイベント ソースをコード アイテムから削除します。 |

- IVsaCodeItemのページへのリンク