DataPackage.QueryEditFiles Method (Boolean%, array<String )

Ask Source Code Control (SCC) whether the file can be checked out. SCC will check out the file if it is allowed to do so. The user may be prompted, depending on settings, before checkout.

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 ( _
    <OutAttribute> ByRef userCanceled As Boolean, _
    ParamArray files As String() _
) As Boolean
public static bool QueryEditFiles(
    out bool userCanceled,
    params string[] files
)
public:
static bool QueryEditFiles(
    [OutAttribute] bool% userCanceled, 
    ... array<String^>^ files
)
static member QueryEditFiles : 
        userCanceled:bool byref * 
        files:string[] -> bool 
public static function QueryEditFiles(
    userCanceled : boolean, 
    ... files : String[]
) : boolean

Parameters

  • userCanceled
    Type: System.Boolean%
    Return flag indicating whether the user canceled the checkout.

Return Value

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

.NET Framework Security

See Also

Reference

DataPackage Class

QueryEditFiles Overload

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