CodeGenerationUtilities.HasCompartmentMaps Method
True if the given Diagram defines CompartmentMaps.
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 HasCompartmentMaps ( _
diagram As Diagram _
) As Boolean
public static bool HasCompartmentMaps(
Diagram diagram
)
public:
static bool HasCompartmentMaps(
Diagram^ diagram
)
static member HasCompartmentMaps :
diagram:Diagram -> bool
public static function HasCompartmentMaps(
diagram : Diagram
) : boolean
Parameters
- diagram
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Diagram
Return Value
Type: System.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.