Share via


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
Run のメソッドが、コンパイルされるアセンブリに呼び出すことができることを示す通常のコンパイルに true を返します。コンパイルに失敗した場合は false を返します。

参照

関連項目

IVsaEngine インターフェイス

Microsoft.Vsa 名前空間