다음을 통해 공유


IVsaEngine.Compile 메서드

스크립트 엔진이 기존의 소스 상태를 컴파일하도록 합니다.

네임스페이스:  Microsoft.Vsa
어셈블리:  Microsoft.Vsa(Microsoft.Vsa.dll)

구문

‘선언
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Function Compile As Boolean
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
bool Compile()
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
bool Compile()
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
abstract Compile : unit -> bool 
function Compile() : boolean

반환 값

형식: System.Boolean
함을 나타내는 성공 컴파일할 때 TRUE 반환의 Run 는 새로 컴파일된 어셈블리에서 메서드를 호출할 수 있습니다.컴파일 오류가 발생 한 경우 FALSE를 반환 합니다.

참고 항목

참조

IVsaEngine 인터페이스

Microsoft.Vsa 네임스페이스