/// <summary> /// Allows the base project to ask the project subtype to create an <see cref="T:Microsoft.VisualStudio.Shell.Interop.IVsProjectFlavorCfg"/> object corresponding to each one of its (project subtype's) configuration objects. /// </summary> /// <returns> /// If the method succeeds, it returns <see cref="F:Microsoft.VisualStudio.VSConstants.S_OK"/>. If it fails, it returns an error code. /// </returns> /// <param name="pBaseProjectCfg">[in] Pointer to the <see cref="T:Microsoft.VisualStudio.Shell.Interop.IVsCfg"/> object of the base project.</param><param name="ppFlavorCfg">[out] The <see cref="T:Microsoft.VisualStudio.Shell.Interop.IVsProjectFlavorCfg"/> object of the project subtype.</param> public int CreateProjectFlavorCfg(IVsCfg pBaseProjectCfg, out IVsProjectFlavorCfg ppFlavorCfg) { ppFlavorCfg = new ProjectFlavorCfg(this); return(VSConstants.S_OK); }
/// <summary> /// Allows the base project to ask the project subtype to create an <see cref="T:Microsoft.VisualStudio.Shell.Interop.IVsProjectFlavorCfg"/> object corresponding to each one of its (project subtype's) configuration objects. /// </summary> /// <returns> /// If the method succeeds, it returns <see cref="F:Microsoft.VisualStudio.VSConstants.S_OK"/>. If it fails, it returns an error code. /// </returns> /// <param name="pBaseProjectCfg">[in] Pointer to the <see cref="T:Microsoft.VisualStudio.Shell.Interop.IVsCfg"/> object of the base project.</param><param name="ppFlavorCfg">[out] The <see cref="T:Microsoft.VisualStudio.Shell.Interop.IVsProjectFlavorCfg"/> object of the project subtype.</param> public int CreateProjectFlavorCfg(IVsCfg pBaseProjectCfg, out IVsProjectFlavorCfg ppFlavorCfg) { ppFlavorCfg = new ProjectFlavorCfg(this); return VSConstants.S_OK; }