FlavoredProject.IVsAggregatableProject.InitializeForOuter 方法

调用由外部项的子类型具有内部项子类型请完成其初始化工作。

命名空间:  Microsoft.VisualStudio.Shell.Flavor
程序集:  Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)

语法

声明
Private Function InitializeForOuter ( _
    fileName As String, _
    ___location As String, _
    name As String, _
    flags As UInteger, _
    ByRef guidProject As Guid, _
    <OutAttribute> ByRef project As IntPtr, _
    <OutAttribute> ByRef canceled As Integer _
) As Integer Implements IVsAggregatableProject.InitializeForOuter
int IVsAggregatableProject.InitializeForOuter(
    string fileName,
    string ___location,
    string name,
    uint flags,
    ref Guid guidProject,
    out IntPtr project,
    out int canceled
)

参数

  • fileName
    类型:System.String
    将初始化项的项目文件名。
  • guidProject
    类型:System.Guid%
    [] ref 项目的接口 ID。它应该是 IID_IUnknown。
  • canceled
    类型:System.Int32%
    [out] true ,如果项目被取消。 

返回值

类型:System.Int32
如果方法成功, S_OK,否则错误代码。

实现

IVsAggregatableProject.InitializeForOuter(String, String, String, UInt32, Guid%, IntPtr%, Int32%)

备注

此方法调用 InitializeForOuter

.NET Framework 安全性

请参见

参考

FlavoredProject 类

Microsoft.VisualStudio.Shell.Flavor 命名空间