2021 Method
Changes 0
M

UpdaterRegistry.RegisterUpdater

Description:
Registers the updater for a specified document, which means the updater can only be triggered by changes made in that document.
Remarks:
An updater may be registered in more then one document, but an updater may not be registered for a document and also for the entire application at the same time. If an updater has already been registered application-wide, an attempt to register it for a document will cause an exception.
Overloads (4):
RegisterUpdater(IUpdater,Document,Boolean)
public static void RegisterUpdater(
	IUpdater updater,
	Document document,
	bool isOptional
)
  • updater
    Updater to be registered.
  • document
    Document for which this updater is to be registered.
  • Boolean
    isOptional
    This argument controls whether the updater should be required next time a document is open in which the updater had been previously used. If a non-optional updater is not found (i.e. currently not registered), the end user will be presented with a warning and choices to resolve the situation.