Using client objectsMeridian Enterprise 2013 Developer's Guide | BlueCielo ECM Solutions

The client-side classes of the BlueCielo .NET SDK are used to simplify some programming tasks. The classes ensure that interface extensions, VBScript events, and property pages are invoked when external code is executed. For that purpose, most client classes provide overloaded constructors with a BCServiceProvider object as a parameter. The BCServiceProvider class is analogous to the AMServiceProvider COM class. It represents a context to encapsulate additional information about the calling environment.

For a stand-alone application, a context must be created and initialized manually by the developer. This is demonstrated by the following example code for a BCFolderUI client-side class.

For an interface extension, a context is provided by the host application. You can access the context via the ExtensionHost.Services property (it replaces the Visual Basic 6 IAMUIExtensionDesigner.GetHostService method).

The following example demonstrates how to use a BCDocumentUI client-side class in an interface extension.

See Also

Other Resources