Skip to main content

IModel.GetRepresentationsInEditor Method

Namespace: NextDesign.Core

Description

Gets all representation information for this instance in the specified editor.
This method evaluates IContextOption.EditorAccessMode.
If there are no corresponding elements, it returns an empty collection.
Depending on the EditorAccessMode specified, the latest model changes will not be synchronized.
Therefore, please note that correct information may not be obtained for editors that have not been displayed since changing the model.

Arguments

NameTypeDescription
editorIEditorEditor

null cannot be specified.

Return value

  • IRepresentationCollection

Exception

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf editor is set to null