SubordinateDocumentLockHolder Class
Manages an edit lock on a subordinate file in the running documents table.
This API is not CLS-compliant.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.Modeling.Shell.SubordinateDocumentLockHolder
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public NotInheritable Class SubordinateDocumentLockHolder _
Implements IVsDocumentLockHolder, IDisposable
[CLSCompliantAttribute(false)]
public sealed class SubordinateDocumentLockHolder : IVsDocumentLockHolder,
IDisposable
[CLSCompliantAttribute(false)]
public ref class SubordinateDocumentLockHolder sealed : IVsDocumentLockHolder,
IDisposable
[<Sealed>]
[<CLSCompliantAttribute(false)>]
type SubordinateDocumentLockHolder =
class
interface IVsDocumentLockHolder
interface IDisposable
end
public final class SubordinateDocumentLockHolder implements IVsDocumentLockHolder, IDisposable
The SubordinateDocumentLockHolder type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SubordinateDocumentLockHolder | Creates a new SubordinateDocumentLockHolder. |
Top
Properties
Name | Description | |
---|---|---|
SubordinateDocData | Retrieves the subordinate DocData managed by this lock holder. |
Top
Methods
Name | Description | |
---|---|---|
CloseDocumentHolder | Releases the lock on the subordinate document and unregisters the lock holder. | |
Dispose | Releases all resources used by the current instance of the SubordinateDocumentLockHolder class. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ShowDocumentHolder | Shows the first view associated with the parent document. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnregisterSubordinateDocument | Unregisters the subordinate document and removes it from memory. This method does not save the document. |
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.