FlavoredProjectFactoryBase.IVsProjectFactory.CreateProject 方法
命名空间: Microsoft.VisualStudio.Shell.Flavor
程序集: Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)
语法
声明
Private Function CreateProject ( _
fileName As String, _
location As String, _
name As String, _
flags As UInteger, _
ByRef projectGuid As Guid, _
<OutAttribute> ByRef project As IntPtr, _
<OutAttribute> ByRef canceled As Integer _
) As Integer Implements IVsProjectFactory.CreateProject
int IVsProjectFactory.CreateProject(
string fileName,
string location,
string name,
uint flags,
ref Guid projectGuid,
out IntPtr project,
out int canceled
)
参数
- fileName
类型:System.String
- location
类型:System.String
- name
类型:System.String
- flags
类型:System.UInt32
- projectGuid
类型:System.Guid%
- project
类型:System.IntPtr%
- canceled
类型:System.Int32%
返回值
类型:System.Int32
实现
IVsProjectFactory.CreateProject(String, String, String, UInt32, Guid%, IntPtr%, Int32%)
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。