FlavoredProject.IVsAggregatableProject.SetInnerProject(Object) 方法

定义

设置内部项目以及所需的接口指针。

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject.SetInnerProject(System::Object ^ inner) = Microsoft::VisualStudio::Shell::Interop::IVsAggregatableProject::SetInnerProject;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject.SetInnerProject(Platform::Object ^ inner) = Microsoft::VisualStudio::Shell::Interop::IVsAggregatableProject::SetInnerProject;
int Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject.SetInnerProject(winrt::Windows::Foundation::IInspectable const & inner);
int IVsAggregatableProject.SetInnerProject (object inner);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject.SetInnerProject : obj -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject.SetInnerProject : obj -> int
Function SetInnerProject (inner As Object) As Integer Implements IVsAggregatableProject.SetInnerProject

参数

inner
Object

IUnknown内部项目子类型的。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

实现

注解

此方法设置接口指针 innerVsAggregatableProjectinnerVsHierarchyinnerVsUIHierarchy ,然后调用 <xref:Microsoft.VisualStudio.ProjectAggregator2.Interop.IVsProjectAggregator2.SetInner%2A>

适用于