DomainClassXmlSerializer Class
Represents the base class for all generated domain serializers.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.DomainClassXmlSerializer
Microsoft.VisualStudio.Modeling.Diagrams.PresentationElementSerializer
Microsoft.VisualStudio.Modeling.DomainRelationshipXmlSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.DomainElementSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryImportSerializer
Microsoft.VisualStudio.Modeling.ExtensionElementSerializer
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣告
Public Class DomainClassXmlSerializer
public class DomainClassXmlSerializer
public ref class DomainClassXmlSerializer
type DomainClassXmlSerializer = class end
public class DomainClassXmlSerializer
The DomainClassXmlSerializer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DomainClassXmlSerializer | Initializes a new instance of the DomainClassXmlSerializer class. |
Top
Properties
Name | Description | |
---|---|---|
MonikerAttributeName | Gets the XML attribute name that contains the moniker string. | |
MonikerTagName | Gets the XML tag name. | |
XmlTagName | Gets the XML tag name that will be used in serialization. |
Top
Methods
Name | Description | |
---|---|---|
CalculateQualifiedName | Calculates a reference to a handled model element instance. | |
CreateInstance | Creates a model element instance. | |
CreateMonikerInstance | Creates a moniker instance. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetMonikerQualifier | Calculates the Qualifier for the moniker. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Read | Deserializes a given model element instance from XML. | |
ReadAdditionalElementData | Read any additional element data that is associated with the element. | |
ReadElements | This methods deserializes nested XML elements inside the passed-in element. | |
ReadPropertiesFromAttributes | This method deserializes all properties that are serialized as XML attributes. | |
ReadRootElement | Deserializes the root model element from XML. | |
Reset | Returns the serializer to its initial state | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryCreateInstance | Checks if the given XmlReader is pointing to a serialized model element instance that this serializer can handle. | |
TryCreateMonikerInstance | Checks if the given XmlReader is pointing to a monikerized instance of a model element that this serializer can handle. | |
Write(SerializationContext, ModelElement, XmlWriter) | Serializes the model element instance associated with this serializer instance into XML. | |
Write(SerializationContext, ModelElement, XmlWriter, RootElementSettings) | Serializes the model element instance associated with this serializer instance into XML. | |
WriteAdditionalElementData | Write any additional element data associated with the element | |
WriteElements | This methods serializes 1) properties serialized as nested XML elements and 2) child model elements into XML. | |
WriteMoniker | Serializes, from a moniker, the model element instance that associated with this serializer instance into XML. | |
WritePropertiesAsAttributes | Write all properties that need to be serialized as XML attributes. | |
WriteRootElement | Serializes the root model element instance associated with this serializer instance into XML. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.