DslDefinitionModelDomainModel.EnableDiagramRules Method
Enables rules in this domain model related to diagram fixup for the given store. If diagram data will be loaded into the store, this method should be called first to ensure that the diagram behaves properly.
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 Sub EnableDiagramRules ( _
store As Store _
)
public static void EnableDiagramRules(
Store store
)
public:
static void EnableDiagramRules(
Store^ store
)
static member EnableDiagramRules :
store:Store -> unit
public static function EnableDiagramRules(
store : Store
)
Parameters
- store
Type: Microsoft.VisualStudio.Modeling.Store
.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.