RdtManager.CloseOpenDocument Method
Verifies that a file is closed before opening the T-SQL editor.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Shared Function CloseOpenDocument ( _
fileName As String _
) As Boolean
'Usage
Dim fileName As String
Dim returnValue As Boolean
returnValue = RdtManager.CloseOpenDocument(fileName)
public static bool CloseOpenDocument(
string fileName
)
public:
static bool CloseOpenDocument(
String^ fileName
)
public static function CloseOpenDocument(
fileName : String
) : boolean
static member CloseOpenDocument :
fileName:string -> bool
Parameters
- fileName
Type: System.String
The file name
Return Value
Type: System.Boolean
.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.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Project Namespace