FlavoredProject.InitializeForOuter 方法

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

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

语法

声明
Protected Overridable Sub InitializeForOuter ( _
    fileName As String, _
    ___location As String, _
    name As String, _
    flags As UInteger, _
    ByRef guidProject As Guid, _
    <OutAttribute> ByRef cancel As Boolean _
)
protected virtual void InitializeForOuter(
    string fileName,
    string ___location,
    string name,
    uint flags,
    ref Guid guidProject,
    out bool cancel
)

参数

  • flags
    类型:System.UInt32
    从 __VSCREATEPROJECTFLAGS 枚举的标志。
  • guidProject
    类型:System.Guid%
    [] ref 项目的接口 ID。
  • cancel
    类型:System.Boolean%
    [out] ,如果项目创建已取消,则返回 true 。

备注

默认情况下设置 cancel 到 false。

.NET Framework 安全性

请参见

参考

FlavoredProject 类

Microsoft.VisualStudio.Shell.Flavor 命名空间