BCSMetadata SetContext Method (BCFSObject, IWin32Window, BCServiceProvider)Meridian Enterprise 2013 Developer's Guide | BlueCielo ECM Solutions
Sets the current context of the metadata.

Namespace: BlueCieloECM.InnoCielo.Meridian.Scripting
Assembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 1.4.0.0 (1.4.53.0)
Syntax

public void SetContext(
	BCFSObject currentObject,
	IWin32Window owner,
	BCServiceProvider services
)

Parameters

currentObject
Type: BlueCieloECM.InnoCielo.Meridian.Server BCFSObject
The object of which to initialize the metadata. If  , resets the current object of the metadata.
owner
Type: OnlineSystem.Windows.Forms IWin32Window
Any object that implements the OnlineIWin32Window interface that represents the top-level window that will own the modal dialog box. If  , resets the top-level window.
services
Type: BlueCieloECM.InnoCielo.Meridian.Client BCServiceProvider
The context for the metadata. If  , resets the context.
Remarks

The context is restored when the metadata is disposed only if it was initialized with the class constructor (not with this method). Otherwise, if required, you restore the context manually before to dispose: invoke the ClearContext  method.
See Also