Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Public Function CloseDocumentHolder ( _
dwSaveOptions As UInteger _
) As Integer
'使用
Dim instance As SubordinateDocumentLockHolder
Dim dwSaveOptions As UInteger
Dim returnValue As Integer
returnValue = instance.CloseDocumentHolder(dwSaveOptions)
public int CloseDocumentHolder(
uint dwSaveOptions
)
public:
virtual int CloseDocumentHolder(
unsigned int dwSaveOptions
) sealed
public final function CloseDocumentHolder(
dwSaveOptions : uint
) : int
Parameters
- dwSaveOptions
Type: System.UInt32
Return Value
Type: System.Int32
Implements
IVsDocumentLockHolder.CloseDocumentHolder(UInt32)
Permissions
- 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.
See Also
Reference
SubordinateDocumentLockHolder Class