Delen via


SubordinateDocumentLockHolder.CloseDocumentHolder Method

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

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

Syntax

'Declaration
Public Function CloseDocumentHolder ( _
    dwSaveOptions As UInteger _
) As Integer
public int CloseDocumentHolder(
    uint dwSaveOptions
)
public:
virtual int CloseDocumentHolder(
    unsigned int dwSaveOptions
) sealed
abstract CloseDocumentHolder : 
        dwSaveOptions:uint32 -> int  
override CloseDocumentHolder : 
        dwSaveOptions:uint32 -> int
public final function CloseDocumentHolder(
    dwSaveOptions : uint
) : int

Parameters

Return Value

Type: System.Int32

Implements

IVsDocumentLockHolder.CloseDocumentHolder(UInt32)

.NET Framework Security

See Also

Reference

SubordinateDocumentLockHolder Class

Microsoft.VisualStudio.Modeling.Shell Namespace