DataPackage.QueryEditFiles Method (array<String )

Queries version control to determine whether the specified file can be checked out.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.UI
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
Public Shared Function QueryEditFiles ( _
    ParamArray files As String() _
) As Boolean
public static bool QueryEditFiles(
    params string[] files
)
public:
static bool QueryEditFiles(
    ... array<String^>^ files
)
static member QueryEditFiles : 
        files:string[] -> bool 
public static function QueryEditFiles(
    ... files : String[]
) : boolean

Parameters

Return Value

Type: System.Boolean
True if the files were checked out; otherwise, false.

Remarks

Version control will check out the file if it is allowed to do so. The user may be prompted, depending on settings, before the file is checked out.

.NET Framework Security

See Also

Reference

DataPackage Class

QueryEditFiles Overload

Microsoft.VisualStudio.Data.Schema.Package.UI Namespace