The requested page is not available for the requested platform. You are viewing the content for Default platform.

CodeCompletionRequestManager.UseLocalEngine() Method

Activates the local code completion engine and stores report layouts in memory.

Namespace: DevExpress.XtraReports.CodeCompletion

Assembly: DevExpress.XtraReports.v19.1.CodeCompletion.dll

Declaration

public static void UseLocalEngine()
Public Shared Sub UseLocalEngine

Remarks

Intelligent code completion requires connection to the Internet and supports only .NET Framework and DevExpress libraries deployed with the application.

For End-User Report Designers, you can activate the local code completion engine that works without an Internet connection and additionally supports types defined in custom assemblies. Install the DevExpress.Reporting.CodeCompletion NuGet package and call the UseLocalEngine method at the application startup.

DevExpress.XtraReports.CodeCompletion.CodeCompletionRequestManager.UseLocalEngine();

This method registers an in-memory storage (InMemoryCodeCompletionContextStorage) for report layouts.

You can also use another UseLocalEngine(ICodeCompletionContextStorage) method overload that accepts a storage object as the parameter.

See the Scripts Overview topic for more information.

See Also