Sets the current context of the metadata.
Namespace: BlueCieloECM.InnoCielo.Meridian.ScriptingAssembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 1.4.0.0 (1.4.40.0)
Syntax
C# |
---|
public void SetContext( BCRepository currentObject, IWin32Window owner, BCServiceProvider services ) |
Visual Basic |
---|
Public Sub SetContext ( _ currentObject As BCRepository, _ owner As IWin32Window, _ services As BCServiceProvider _ ) |
Visual C++ |
---|
public: void SetContext( BCRepository^ currentObject, IWin32Window^ owner, BCServiceProvider^ services ) |
Parameters
- currentObject
- Type: BlueCieloECM.InnoCielo.Meridian.Server..::..BCRepository
The object of which to initialize the metadata. If nullNothingnullptra null reference (Nothing in Visual Basic), resets the current object of the metadata.
- owner
- Type: System.Windows.Forms..::..IWin32Window
Any object that implements the IWin32Window interface that represents the top-level window that will own the modal dialog box. If nullNothingnullptra null reference (Nothing in Visual Basic), resets the top-level window.
- services
- Type: BlueCieloECM.InnoCielo.Meridian.Client..::..BCServiceProvider
The context for the metadata. If nullNothingnullptra null reference (Nothing in Visual Basic), 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.