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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
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
- dslLibrary
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary
Return Value
Type: Boolean
.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.