IDatabaseProjectNode.QueryEditProjectFile Method
Verifies whether the file can be written to. Returns false if the file is read-only or if it is not checked out and the user did not assign permission to change it.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Function QueryEditProjectFile ( _
suppressUI As Boolean _
) As Boolean
bool QueryEditProjectFile(
bool suppressUI
)
bool QueryEditProjectFile(
bool suppressUI
)
abstract QueryEditProjectFile :
suppressUI:bool -> bool
function QueryEditProjectFile(
suppressUI : boolean
) : boolean
Parameters
- suppressUI
Type: System.Boolean
If true, no dialog boxes will be shown.
Return Value
Type: System.Boolean
true if the project file was successfully checked out, or if it is not under source control.
Remarks
The behavior is also affected by the version control settings in Tools->Options.
.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
IDatabaseProjectNode Interface
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace