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 | 指定したイベント ソースをコード アイテムから削除します。 |
参照Weblioに収録されているすべての辞書からIVsaCodeItemを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からIVsaCodeItem
を検索
- IVsaCodeItemのページへのリンク