BasicNoUIObjAddImports Method |
Adds automatic imports to the WWB.NET language.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic bool AddImports(
string imports
)
Public Function AddImports (
imports As String
) As Boolean
public:
virtual bool AddImports(
String^ imports
) sealed
Parameters
- imports String
-
All macros are parsed with automatic Imports for each import in the string.
(Separate imports with a space.)
To add imports to a specific module prefix it with "modulepath|".
Return Value
Boolean
True if
AddImports is successful.
Implements
IBasicNoUIAddImports(String)
Remarks
The WWB.NET language is extended with the automatic imports.
Use RemoveExtensions("") to remove all the references and automatic imports.
Example
Add automatic Imports:
basicIdeCtl1.AddImports("System.Windows.Forms");
BasicIdeCtl1.AddImports("System.Windows.Forms")
basicIdeCtl1->AddImports("System.Windows.Forms");
See Also