调用由外部项的子类型具有拥有的内部项子类型请完成其初始化工作。
命名空间: 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
)
参数
- fileName
类型:System.String
项目文件的名称。
- ___location
类型:System.String
项目文件的路径。
- name
类型:System.String
项目的名称。
- flags
类型:System.UInt32
从 __VSCREATEPROJECTFLAGS 枚举的标志。
- guidProject
类型:System.Guid%
[] ref 项目的接口 ID。
- cancel
类型:System.Boolean%
[out] ,如果项目创建已取消,则返回 true 。
备注
默认情况下设置 cancel 到 false。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。