IModel.AsIn(string,bool) Method
Namespace: NextDesign.Core
Description
Checks if this instance is compatible with any of the specified class types.
Returns True if this instance is an instance of any of the specified classes or their subclasses.
See the IModel documentation for how to specify class names and fuzzy matching options.
Argument
| Name | Type | Description |
|---|---|---|
| classNames | string | Class names (comma-separated if multiple classes are specified) If null or an empty string is specified, this method evaluates to False. If no class with the specified name is found, this method evaluates to False. |
Return value
- bool