Partager via


ModelingDocumentHandler Class

This is a pluggable class that a ModelBusAdapter can use for configuring management of the underlying Document represented by this ModelBusAdapter.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.Integration.ModelingDocumentHandler

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

Syntax

'Declaration
Public MustInherit Class ModelingDocumentHandler _
    Implements IDisposable
public abstract class ModelingDocumentHandler : IDisposable
public ref class ModelingDocumentHandler abstract : IDisposable
[<AbstractClass>]
type ModelingDocumentHandler =  
    class 
        interface IDisposable 
    end
public abstract class ModelingDocumentHandler implements IDisposable

The ModelingDocumentHandler type exposes the following members.

Constructors

  Name Description
Protected method ModelingDocumentHandler() Default constructor
Protected method ModelingDocumentHandler(String) Constructor

Top

Properties

  Name Description
Public property ModelFile Full path and file name of the disk-based file being managed by this DocumentHandler.
Public property Root Access the root element of the document

Top

Methods

  Name Description
Public method Dispose()
Protected method Dispose(Boolean) Dispose this ModelingDocumentHandler instance. The base class does nothing. Derived ModelingDocumentHandler implementations can choose to do additional work, including persist unsaved data, free up resources, etc.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Destructor (Overrides Object.Finalize().)
Public method GetHashCode Serves as the default hash function. (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

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