IVsTrackProjectDocuments4.OnQueryRemoveFilesEx Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Dosyaların projeden kaldırılıp kaldırılamayacağını anlamak için bir proje tarafından çağırılır.
public:
int OnQueryRemoveFilesEx(Microsoft::VisualStudio::Shell::Interop::IVsProject ^ pProject, int cFiles, cli::array <System::String ^> ^ rgpszMkDocuments, cli::array <System::UInt32> ^ rgFlags, cli::array <Microsoft::VisualStudio::Shell::Interop::VSQUERYREMOVEFILERESULTS> ^ pSummaryResult, cli::array <Microsoft::VisualStudio::Shell::Interop::VSQUERYREMOVEFILERESULTS> ^ rgResults);
public:
int OnQueryRemoveFilesEx(Microsoft::VisualStudio::Shell::Interop::IVsProject ^ pProject, int cFiles, Platform::Array <Platform::String ^> ^ rgpszMkDocuments, Platform::Array <unsigned int> ^ rgFlags, Platform::Array <Microsoft::VisualStudio::Shell::Interop::VSQUERYREMOVEFILERESULTS> ^ pSummaryResult, Platform::Array <Microsoft::VisualStudio::Shell::Interop::VSQUERYREMOVEFILERESULTS> ^ rgResults);
int OnQueryRemoveFilesEx(Microsoft::VisualStudio::Shell::Interop::IVsProject const & pProject, int cFiles, std::Array <std::wstring const &> const & rgpszMkDocuments, std::Array <unsigned int> const & rgFlags, std::Array <Microsoft::VisualStudio::Shell::Interop::VSQUERYREMOVEFILERESULTS> const & pSummaryResult, std::Array <Microsoft::VisualStudio::Shell::Interop::VSQUERYREMOVEFILERESULTS> const & rgResults);
public int OnQueryRemoveFilesEx (Microsoft.VisualStudio.Shell.Interop.IVsProject pProject, int cFiles, string[] rgpszMkDocuments, uint[] rgFlags, Microsoft.VisualStudio.Shell.Interop.VSQUERYREMOVEFILERESULTS[] pSummaryResult, Microsoft.VisualStudio.Shell.Interop.VSQUERYREMOVEFILERESULTS[] rgResults);
abstract member OnQueryRemoveFilesEx : Microsoft.VisualStudio.Shell.Interop.IVsProject * int * string[] * uint32[] * Microsoft.VisualStudio.Shell.Interop.VSQUERYREMOVEFILERESULTS[] * Microsoft.VisualStudio.Shell.Interop.VSQUERYREMOVEFILERESULTS[] -> int
Public Function OnQueryRemoveFilesEx (pProject As IVsProject, cFiles As Integer, rgpszMkDocuments As String(), rgFlags As UInteger(), pSummaryResult As VSQUERYREMOVEFILERESULTS(), rgResults As VSQUERYREMOVEFILERESULTS()) As Integer
Parametreler
- pProject
- IVsProject
'ndaki Kaldırılacak dosyaları içeren proje.
- cFiles
- Int32
'ndaki Kaldırılacak dosya sayısı.
- rgpszMkDocuments
- String[]
[in, size_is (cFiles)] Kaldırılacak dosyalar için yol dizisi.
- rgFlags
- UInt32[]
[in, size_is (cFiles)] Bayrak dizisi. Değerlerin listesi için rgFlags bkz __VSQUERYREMOVEFILEFLAGS2 ..
- pSummaryResult
- VSQUERYREMOVEFILERESULTS[]
dışı Özet sonuç nesnesi. Bu nesne, Evet 'in bir özetidir ve geçirilen dosya dizisi için sonuç içermez rgpszMkDocuments . Tek bir dosya için sonuç yoksa, bu parametre değerine eşittir VSQUERYREMOVEFILERESULTS_RemoveNotOK ; tüm dosyalar için sonuçlar Evet ise, bu parametre değerine eşittir VSQUERYREMOVEFILERESULTS_RemoveOK . Değerlerin listesi için pSummaryResult bkz VSQUERYREMOVEFILERESULTS ..
- rgResults
- VSQUERYREMOVEFILERESULTS[]
[Out, size_is (cFiles)] Sonuç dizisi. Bu parametre için null bir başvuru geçirirseniz, yalnızca Özet sonucu döndürülür ( pSummaryResult ). Değerlerin listesi için rgResults bkz VSQUERYREMOVEFILERESULTS ..
Döndürülenler
Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.