/// <include file='doc\VsCheckoutService.uex' path='docs/doc[@for="VsCheckoutService.DoesFileNeedCheckout"]/*' /> /// <devdoc> /// Checks if a file must be checked out to be edited. It will /// return true only if the file is under source control /// and is currently not checked out. /// </devdoc> public virtual bool DoesFileNeedCheckout(string fileName) { EnsureTextManager(); if (disable) { return(false); } bool pCheckedIn = false; textManagerService.GetBufferSccStatus2(fileName, ref pCheckedIn); return(pCheckedIn); }