Skip to main content

IModel.GetRepresentationsInEditor method

Namespace: NextDesign.Core

Description

Gets all presentation information corresponding to this instance in the specified editor.
This method evaluates IContextOption.EditorAccessMode.

Returns an empty collection if there are no such elements.

The latest model changes are not synchronized depending on the EditorAccessMode specified.
Therefore, please note that the correct information may not be obtained with an editor etc. that has not been displayed even once after changing the model.

argument

NameTypeDescription
editorIEditorEditor

Cannot be null.

Return value

  • IRepresentationCollection

Exceptions

NameException ClassDescription
Argument invalidExtensionArgumentExceptionWhen null is specified for editor