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
- dwSaveOptions
Type: System.UInt32
Return Value
Type: System.Int32
Implements
IVsDocumentLockHolder.CloseDocumentHolder(UInt32)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.