CodeGenerationUtilities.IsRootClass(DomainClass) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
If a DomainClass is a root class, all its serialization-related methods/properties will be virtual (unless it's sealed); otherwise, these methods/properties will be "override" and will call base implementations. Currently, a DomainClass is a root class if it derives from Microsoft.VisualStudio.Modeling.ModelElement or Microsoft.VisualStudio.Modeling.ElementLink directly.
public:
static bool IsRootClass(Microsoft::VisualStudio::Modeling::DslDefinition::DomainClass ^ domainClass);
public static bool IsRootClass (Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass domainClass);
static member IsRootClass : Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass -> bool
Public Shared Function IsRootClass (domainClass As DomainClass) As Boolean
Parameters
- domainClass
- DomainClass
Returns
Remarks
Note that this method is not intended to be used with ModelElement or ElementLink directly.