Share via


SubordinateDocumentLockHolder Class

Definition

Important

This API is not CLS-compliant.

Manages an edit lock on a subordinate file in the running documents table.

public ref class SubordinateDocumentLockHolder sealed : IDisposable, Microsoft::VisualStudio::Shell::Interop::IVsDocumentLockHolder
[System.CLSCompliant(false)]
public sealed class SubordinateDocumentLockHolder : IDisposable, Microsoft.VisualStudio.Shell.Interop.IVsDocumentLockHolder
public sealed class SubordinateDocumentLockHolder : IDisposable, Microsoft.VisualStudio.Shell.Interop.IVsDocumentLockHolder
[<System.CLSCompliant(false)>]
type SubordinateDocumentLockHolder = class
    interface IVsDocumentLockHolder
    interface IDisposable
type SubordinateDocumentLockHolder = class
    interface IVsDocumentLockHolder
    interface IDisposable
Public NotInheritable Class SubordinateDocumentLockHolder
Implements IDisposable, IVsDocumentLockHolder
Inheritance
SubordinateDocumentLockHolder
Attributes
Implements

Constructors

SubordinateDocumentLockHolder(IServiceProvider, DocData, String, UInt32)

Creates a new SubordinateDocumentLockHolder.

Properties

SubordinateDocData

Retrieves the subordinate DocData managed by this lock holder.

Methods

CloseDocumentHolder(UInt32)

Releases the lock on the subordinate document and unregisters the lock holder.

Dispose()

Dispose this instance

Finalize()

Finalizer

ShowDocumentHolder()

Shows the first view associated with the parent document.

UnregisterSubordinateDocument()

Unregisters the subordinate document and removes it from memory. This method does not save the document.

Applies to