FlavoredProject.IVsAggregatableProject.InitializeForOuter 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
由外部项目子类型调用以使内部项目子类型执行其初始化工作。
virtual int Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject.InitializeForOuter(System::String ^ fileName, System::String ^ location, System::String ^ name, System::UInt32 flags, Guid % guidProject, [Runtime::InteropServices::Out] IntPtr % project, [Runtime::InteropServices::Out] int % canceled) = Microsoft::VisualStudio::Shell::Interop::IVsAggregatableProject::InitializeForOuter;
int IVsAggregatableProject.InitializeForOuter (string fileName, string location, string name, uint flags, ref Guid guidProject, out IntPtr project, out int canceled);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject.InitializeForOuter : string * string * string * uint32 * Guid * nativeint * int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject.InitializeForOuter : string * string * string * uint32 * Guid * nativeint * int -> int
Function InitializeForOuter (fileName As String, location As String, name As String, flags As UInteger, ByRef guidProject As Guid, ByRef project As IntPtr, ByRef canceled As Integer) As Integer Implements IVsAggregatableProject.InitializeForOuter
参数
- fileName
- String
要初始化的项目的项目文件名。
- location
- String
项目文件的路径。
- name
- String
项目的名称。
- flags
- UInt32
描述如何创建或打开项目的标志。 值取自 __VSCREATEPROJFLAGS 枚举。
- guidProject
- Guid
ref项目的接口 ID。 它应为 Microsoft.VisualStudio.NativeMethods.IID_IUnknown。
- project
-
IntPtr
nativeint
弄指向项目的指针。
- canceled
- Int32
[out] true 如果项目已取消,则为。
返回
如果该方法成功,则为; S_OK 否则为错误代码。
实现
注解
此方法调用 InitializeForOuter。