IVsaCodeItem インターフェイス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
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 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
- 派生
- 属性
- 実装
注釈
指定したコード項目には、クラス、モジュール、またはその他のソース テキストを含めることができます。
IVsaCodeItem インターフェイスのメンバーを呼び出すためのアクセス許可は必要ありません。
スクリプト エンジンは、コード項目を追加するためにこのインターフェイスを実装します。
プロパティ
| 名前 | 説明 |
|---|---|
| CodeDOM |
古い.
コード項目で表されるコード ドキュメント オブジェクト モデル (CodeDOM) を取得します。 |
| IsDirty |
古い.
アイテムの現在のメモリ内表現が永続化された表現と異なるかどうかを示す値を返します。 (継承元 IVsaItem) |
| ItemType |
古い.
CreateItem(String, VsaItemType, VsaItemFlag) メソッドによって決定される、指定したオブジェクトの型を取得します。 (継承元 IVsaItem) |
| Name |
古い.
項目の名前を取得または設定します。 (継承元 IVsaItem) |
| SourceText |
古い.
自動生成されたコード (存在する場合) を含む、指定したコード項目のテキストを取得または設定します。 |
メソッド
| 名前 | 説明 |
|---|---|
| AddEventSource(String, String) |
古い.
コード項目にイベント ソースを追加します。 このコード項目では、イベント ソースを使用して、ホストによって実装される IVsaSite.GetEventSourceInstance メソッドを呼び出して、イベントを名前付きイベント ソースにフックします。 |
| AppendSourceText(String) |
古い.
指定したテキストをコード項目の末尾に追加します。 |
| GetOption(String) |
古い.
スクリプト エンジンの実装固有のオプションを取得します。 (継承元 IVsaItem) |
| RemoveEventSource(String) |
古い.
指定したイベント ソースをコード項目から削除します。 |
| SetOption(String, Object) |
古い.
スクリプト エンジンの実装固有のオプションを設定します。 (継承元 IVsaItem) |