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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)
Syntax
'宣告
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 | |
---|---|---|
ModelingDocumentHandler() | Default constructor | |
ModelingDocumentHandler(String) | Constructor |
Top
Properties
Name | Description | |
---|---|---|
ModelFile | Full path and file name of the disk-based file being managed by this DocumentHandler. | |
Root | Access the root element of the document |
Top
Methods
Name | Description | |
---|---|---|
Dispose() | ||
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. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Destructor (Overrides Object.Finalize().) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.