共用方式為


CoreDesignSurfaceSerializationHelper Class

Helper class for serializing and deserializing CoreDesignSurface models.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceSerializationHelperBase
    Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceSerializationHelper

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

Syntax

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

The CoreDesignSurfaceSerializationHelper type exposes the following members.

Properties

  Name Description
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.)
Protected method GetDirectory Return the directory of serializers to use (Inherited from CoreDesignSurfaceSerializationHelperBase.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetMonikerResolvers This method returns the moniker resolvers for each of the domain models in the store (Inherited from CoreDesignSurfaceSerializationHelperBase.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method InitializeSerialization Ensure that moniker resolvers and domain element serializers are installed properly on the given store, so that deserialization can be carried out correctly. (Inherited from CoreDesignSurfaceSerializationHelperBase.)
Protected method InitializeSerializationContext (Inherited from CoreDesignSurfaceSerializationHelperBase.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method ReadAdditionalElementData Read in any additional XML element data for the specified element. (Inherited from CoreDesignSurfaceSerializationHelperBase.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method WriteAdditionalElementData Write any additional XML element data for the specified element (Inherited from CoreDesignSurfaceSerializationHelperBase.)

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.Diagrams Namespace