Partager via


CodeGenerationUtilities.DefinesDiagramElements Method

True if the given DslLibrary defines diagram elements, false otherwise. Diagram elements are elements that are included in DslLibrary.DiagramElements, plus diagram (if one is defined).

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'Déclaration
Public Shared Function DefinesDiagramElements ( _
    dslLibrary As DslLibrary _
) As Boolean
public static bool DefinesDiagramElements(
    DslLibrary dslLibrary
)
public:
static bool DefinesDiagramElements(
    DslLibrary^ dslLibrary
)
static member DefinesDiagramElements : 
        dslLibrary:DslLibrary -> bool 
public static function DefinesDiagramElements(
    dslLibrary : DslLibrary
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace