Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public Shared Function IsRootClass ( _
    domainClass As DomainClass _
) As Boolean
public static bool IsRootClass(
    DomainClass domainClass
)
public:
static bool IsRootClass(
    DomainClass^ domainClass
)
static member IsRootClass : 
        domainClass:DomainClass -> bool
public static function IsRootClass(
    domainClass : DomainClass
) : boolean
Parameters
- domainClass
 Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass
Return Value
Type: System.Boolean
Remarks
Note that this method is not intended to be used with ModelElement or ElementLink directly.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.