Skip to main content

IModelCopyService.CanCopy(IProject,IModel) Method

Namespace: NextDesign.Core.Runtime

Description​

Checks whether the specified model can be copied in the specified project.
The specified model is determined to be copyable if it is managed by the specified project.

Argument​

NameTypeDescription
projectIProjectProject
modelIModelModel

Return value​

  • bool

Exception​

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf project is specified as null
If model is specified as null
Invalid operationExtensionInvalidOperationExceptionIf a closed project is specified as project