• HOME
  • PRODUCTS
  • DEMOS
  • BUY
  • BLOG
  • FORUM
  • DOCUMENTATION
  • ABOUT
  • FREE EVALUATION
Search Results for

    Show / Hide Table of Contents

    AssemblyKind Property

    AssemblyKind

    Gets or sets output kind for the script assembly.

    Declaration
    public ScriptAssemblyKind AssemblyKind { get; set; }
    Property Value
    Type Description
    ScriptAssemblyKind
    Implements
    IScriptRun.AssemblyKind
    Remarks

    Set AssemblyKind to specify the script to be compiled as a dynamic link library, windows or console application.

    Examples

    Here is how to use a AssemblyKind in the C# code:

    using Alternet.Scripter;
    
    public partial class Form1 : Form
    {
        private void Form1_Load(object sender, EventArgs e)
        {
            var scriptRun = new ScriptRun();
            scriptRun.AssemblyKind = ScriptAssemblyKind.DynamicLibrary;
        }
    }
    

    Here is how to use a AssemblyKind in the Visual Basic code:

    Imports Alternet.Scripter
    
    Partial Public Class Form1
        Inherits Form
    
        Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs)
            var scriptRun = New ScriptRun()
            scriptRun.AssemblyKind = ScriptAssemblyKind.DynamicLibrary
        End Sub
    End Class
    
    In This Article
    Back to top Copyright AlterNET Software Download PDF