FlavoredProjectFactory.IVsAggregatableProjectFactory.PreCreateForOuter 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.
Bir toplanabilir iç proje oluşturur.
virtual int Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProjectFactory.PreCreateForOuter(System::Object ^ outerProject, [Runtime::InteropServices::Out] System::Object ^ % project) = Microsoft::VisualStudio::Shell::Interop::IVsAggregatableProjectFactory::PreCreateForOuter;
int Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProjectFactory.PreCreateForOuter(winrt::Windows::Foundation::IInspectable const & outerProject, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & project);
int IVsAggregatableProjectFactory.PreCreateForOuter (object outerProject, out object project);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProjectFactory.PreCreateForOuter : obj * obj -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProjectFactory.PreCreateForOuter : obj * obj -> int
Function PreCreateForOuter (outerProject As Object, ByRef project As Object) As Integer Implements IVsAggregatableProjectFactory.PreCreateForOuter
Parametreler
- outerProject
- Object
Dış proje veya null dış proje oluşturulur.
- project
- Object
dışı İç projeyi döndürür.
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.
Uygulamalar
Açıklamalar
Flavored projeleri çeşitli düzeylerde iç içe olabilir. outerProjectParametresi varsa parametrenin her zaman en dıştaki proje olması gerekir.
Bu yöntem hiçbir şey yapmaz, ancak toplanabilmesi için iç proje oluşturur. Başlatma InitializeForOuter yönteminde gerçekleştirilmelidir.