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
- files
Type: array<System.String[]
List of files to check out.
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
- 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.