CloseWindow Method
See Also 
SourceCode.Framework Namespace > IDocumentService Interface : CloseWindow Method



fileName
saveChanges

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Sub CloseWindow( _
   ByVal fileName As String, _
   ByVal saveChanges As Boolean _
) 
Visual Basic (Usage) Copy Code
Dim instance As IDocumentService
Dim fileName As String
Dim saveChanges As Boolean
 
instance.CloseWindow(fileName, saveChanges)
C#  
void CloseWindow( 
   string fileName,
   bool saveChanges
)
C++/CLI  
void CloseWindow( 
   String^ fileName,
   bool saveChanges
) 

Parameters

fileName
saveChanges

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also