IDomainModelSerializer Interface
Defines the contract for a standard domain model serializer.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
| Name | Description | |
|---|---|---|
![]() | DomainModelNamespace | The XML namespace of the domain model |
![]() | DomainModelType | The type of the domain model that can be serialized |
![]() | IsSerializable | If this property is false, then calling the load / save methods will result in a NotImplementedException. Domain model libraries cannot be serialized directly. |
![]() | ModelFileExtension | The file extension used when serializing instances of the domain model to a file |
| Name | Description | |
|---|---|---|
![]() | CalculateDiagramFileName(String^) | Returns the name of the diagram file that accompanies the supplied model file |
![]() | LoadModel(SerializationResult^, Partition^, String^, ISerializerLocator^) | Loads the model file into the specified partition and returns the root model element. |
![]() | LoadModelAndDiagram(SerializationResult^, Partition^, String^, Partition^, String^, ISerializerLocator^) | Loads the model and diagram files into the specified partition and returns the root model element. |
![]() | SaveModel(SerializationResult^, ModelElement^, String^, Encoding^) | Save the model rooted on the specified element to a file |
![]() | SaveModelAndDiagram(SerializationResult^, ModelElement^, String^, ModelElement^, String^, Encoding^) | Saves the model and diagram to files |

