Skip to main content

IViewDefinitions.FindEditorDefByClass(IClass,string) Method

Namespace: NextDesign.Core

Description

Searches for the view definition of the editor defined in the specified class.

Arguments

NameTypeDescription
modelClassIClassClass to search for
namestringEditor definition name to search for
Searches for view definitions whose view name matches the string specified in this argument. (Display name is not searched.)
If null is specified, returns all view definitions defined in the class.
If no matches are found, returns an empty collection.
The default value is null.

Return value

  • IEditorDefCollection

Exception

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf modelClass is set to null