IWebClassLibProjectSvc.CreateClassLibProject 方法

定义

创建一个类库项目。

public:
 int CreateClassLibProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHier, System::String ^ pszRootPathOrUrl, System::UInt32 dwFlags, System::String ^ pszOptionalVDir, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IWebClassLibProject ^ % ppClassLibProject);
public:
 int CreateClassLibProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHier, Platform::String ^ pszRootPathOrUrl, unsigned int dwFlags, Platform::String ^ pszOptionalVDir, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IWebClassLibProject ^ &  ppClassLibProject);
int CreateClassLibProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHier, std::wstring const & pszRootPathOrUrl, unsigned int dwFlags, std::wstring const & pszOptionalVDir, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IWebClassLibProject const & & ppClassLibProject);
public int CreateClassLibProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHier, string pszRootPathOrUrl, uint dwFlags, string pszOptionalVDir, out Microsoft.VisualStudio.Shell.Interop.IWebClassLibProject ppClassLibProject);
abstract member CreateClassLibProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * string * uint32 * string * IWebClassLibProject -> int
Public Function CreateClassLibProject (pHier As IVsHierarchy, pszRootPathOrUrl As String, dwFlags As UInteger, pszOptionalVDir As String, ByRef ppClassLibProject As IWebClassLibProject) As Integer

参数

pHier
IVsHierarchy

项目 hierarachy。

pszRootPathOrUrl
String

项目的根路径。

dwFlags
UInt32

标志。

pszOptionalVDir
String

可选目录。

ppClassLibProject
IWebClassLibProject

Web 类库项目。

返回

Int32

此 HRESULT。

适用于