Partilhar via


IWebClassLibProjectSvc.CreateClassLibProject Method

Definition

Creates a class library project.

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

Parameters

pHier
IVsHierarchy

The project hierarachy.

pszRootPathOrUrl
String

The root path of the project.

dwFlags
UInt32

The flags.

pszOptionalVDir
String

The optional directory.

ppClassLibProject
IWebClassLibProject

The web class library project.

Returns

The HRESULT.

Applies to