Skip to main content

IModel.AsIn(string,bool) method

Namespace: NextDesign.Core

Description

Checks if this instance is compatible with the class type given by the comma-separated string types.
Returns True if this instance is an instance of one of the specified classes or their subclasses.

argument

NameTypeDescription
classNamesstringClass names (separated by commas 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.
Whether to treat thefuzzybool

Return value

  • bool