共用方式為


DomainPropertyXmlSerializer Class

The base class for all custom domain property serializers

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.DomainPropertyXmlSerializer
    Microsoft.VisualStudio.Modeling.Integration.ModelBusReferencePropertySerializer

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

Syntax

'宣告
Public MustInherit Class DomainPropertyXmlSerializer
public abstract class DomainPropertyXmlSerializer
public ref class DomainPropertyXmlSerializer abstract
[<AbstractClass>]
type DomainPropertyXmlSerializer =  class end
public abstract class DomainPropertyXmlSerializer

The DomainPropertyXmlSerializer type exposes the following members.

Constructors

  Name Description
Protected method DomainPropertyXmlSerializer

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 GetString<T> Converts the supplied object to a string format.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetValue<T> Converts the supplied string representation to an object instance.
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

Remarks

The assumption is that the standard DSL XML serializer will serialized each property to and from a single string. Domain property serializers should be stateless.

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