Share via


IVsaScriptCodeItem 인터페이스

정의

IactiveScript 호스트에서 필요한 추가 기능을 정의합니다.

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

public interface class IVsaScriptCodeItem : Microsoft::Vsa::IVsaCodeItem
public interface class IVsaScriptCodeItem : Microsoft::JScript::Vsa::IJSVsaCodeItem
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("E0C0FFE8-7eea-4ee5-b7e4-0080c7eb0b74")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsaScriptCodeItem : Microsoft.Vsa.IVsaCodeItem
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("E0C0FFE8-7eea-4ee5-b7e4-0080c7eb0b74")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsaScriptCodeItem : Microsoft.JScript.Vsa.IJSVsaCodeItem
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("E0C0FFE8-7eea-4ee5-b7e4-0080c7eb0b74")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsaScriptCodeItem = interface
    interface IVsaCodeItem
    interface IVsaItem
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("E0C0FFE8-7eea-4ee5-b7e4-0080c7eb0b74")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsaScriptCodeItem = interface
    interface IJSVsaCodeItem
    interface IJSVsaItem
Public Interface IVsaScriptCodeItem
Implements IVsaCodeItem
Public Interface IVsaScriptCodeItem
Implements IJSVsaCodeItem
특성
구현

속성

CodeDOM

코드 항목에 표시되는 CodeDOM(코드 문서 개체 모델)을 가져옵니다.

(다음에서 상속됨 IJSVsaCodeItem)
IsDirty

항목의 현재 메모리 내의 표현이 지속된 표현과 다른지 여부를 나타내는 값을 반환합니다.

(다음에서 상속됨 IJSVsaItem)
ItemType

CreateItem(String, JSVsaItemType, JSVsaItemFlag) 메서드에 의해 결정된 대로 지정된 개체의 형식을 가져옵니다.

(다음에서 상속됨 IJSVsaItem)
Name

항목의 이름을 가져오거나 설정합니다.

(다음에서 상속됨 IJSVsaItem)
SourceText

자동 생성된 코드가 있으면 해당 코드를 포함하여 지정된 코드 항목의 텍스트를 설정하거나 가져옵니다.

(다음에서 상속됨 IJSVsaCodeItem)
StartColumn

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

클래스에서 구현되는 경우 이 코드가 시작되는 줄의 열 번호를 가져오거나 설정합니다.

StartLine

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

클래스에서 구현되는 경우 이 코드가 시작되는 줄 번호를 가져오거나 설정합니다.

메서드

AddEventSource(String, String)

코드 항목에 이벤트 소스를 추가합니다. 코드 항목은 호스트가 구현하는 IVsaSite.GetEventSourceInstance 메서드를 호출하여 명명된 이벤트 소스에 이벤트를 후크하는 데 이벤트 소스를 사용합니다.

(다음에서 상속됨 IJSVsaCodeItem)
AppendSourceText(String)

지정된 텍스트를 코드 항목 끝에 추가합니다.

(다음에서 상속됨 IJSVsaCodeItem)
Execute()

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

클래스에서 구현되는 경우 이 코드를 컴파일하고 실행합니다.

GetOption(String)

스크립트 엔진에 대한 구현 관련 옵션을 가져옵니다.

(다음에서 상속됨 IJSVsaItem)
RemoveEventSource(String)

코드 항목에서 지정된 이벤트 소스를 제거합니다.

(다음에서 상속됨 IJSVsaCodeItem)
SetOption(String, Object)

스크립트 엔진에 대한 구현 관련 옵션을 설정합니다.

(다음에서 상속됨 IJSVsaItem)

적용 대상

추가 정보