Share

RuntimeSystem.Main Method

Description

Initializes the .NET Runtime using ICLRRuntimeHost.

Visual Basic

Public static Function Main(
    arg As IntPtr, 
    argLength As Integer
) As Integer

C#

public static int Main(
    IntPtr arg, 
    int argLength
);

Parameters

Parameters Description
IntPtr arg Input System.String; argument is not used, it�s there to satisfy ExecuteInDefaultAppDomain which calls the method and loads the acdbmgd assembly.
int argLength Input length of arg

Returns

Returns an integer which represents the success status of the method; 1 is always returned.

Remarks

For Internal use only.

Links

RuntimeSystem Class, Autodesk.AutoCAD.Runtime Namespace

Was this information helpful?