.NET Interface >

NETNew

NETNew[type]
constructs a new object of the specified .NET type.
NETNew
constructs a new object of the specified .NET type, passing the supplied argument sequence to the constructor.
NETNew
constructs the object from the named type in the specified assembly.
NETNew
uses the named assembly from the specified directory, if possible.
NETNew
uses the named assembly from the "assembly" subdirectory of the main application directory corresponding to the given context, if possible.
  • The type argument can be either a NETType expression that was returned from LoadNETType, or a string giving the type's name. The assembly in which the type resides must have been loaded with LoadNETAssembly.
  • The assembly argument can be an assembly name, a NETAssembly expression returned from LoadNETAssembly, or a path or URL to an assembly file. The assembly will be loaded if necessary.
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF