IVsaCodeItem インターフェイス

定義

注意事項

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 (Code Document Object Model) を取得します。

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)

適用対象