共用方式為


CoreDomainModelSerializationBehavior Class

A DomainXmlSerializationBehavior implementation for defined behavior CoreDomainModelSerializationBehavior.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.DomainXmlSerializationBehavior
    Microsoft.VisualStudio.Modeling.CoreDomainModelSerializationBehavior

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
Public NotInheritable Class CoreDomainModelSerializationBehavior _
    Inherits DomainXmlSerializationBehavior
public sealed class CoreDomainModelSerializationBehavior : DomainXmlSerializationBehavior
public ref class CoreDomainModelSerializationBehavior sealed : public DomainXmlSerializationBehavior
[<Sealed>]
type CoreDomainModelSerializationBehavior =  
    class
        inherit DomainXmlSerializationBehavior
    end
public final class CoreDomainModelSerializationBehavior extends DomainXmlSerializationBehavior

The CoreDomainModelSerializationBehavior type exposes the following members.

Properties

  Name Description
Public property AllNamespaces This provides a mapping from xml namespaces to domain model implementation types. Returns null for this class. (Overrides DomainXmlSerializationBehavior.AllNamespaces.)
Public property AllPropertySerializers This provides a mapping from property type to DomainPropertyXmlSerializerImplementation type to use for serialization. (Inherited from DomainXmlSerializationBehavior.)
Public property AllSerializers This provides a mapping from DomainClass Id to DomainXmlSerializer implementation types. (Overrides DomainXmlSerializationBehavior.AllSerializers.)
Public propertyStatic member Instance Singleton instance.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member DomainModelXmlNamespace The xml namespace used by this domain model when serializing

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.

See Also

Reference

Microsoft.VisualStudio.Modeling Namespace