IWebClassLibProjectSvc.CreateClassLibProject Method

Creates a class library project.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function CreateClassLibProject ( _
    pHier As IVsHierarchy, _
    pszRootPathOrUrl As String, _
    dwFlags As UInteger, _
    pszOptionalVDir As String, _
    <OutAttribute> ByRef ppClassLibProject As IWebClassLibProject _
) As Integer
int CreateClassLibProject(
    IVsHierarchy pHier,
    string pszRootPathOrUrl,
    uint dwFlags,
    string pszOptionalVDir,
    out IWebClassLibProject ppClassLibProject
)
int CreateClassLibProject(
    [InAttribute] IVsHierarchy^ pHier, 
    [InAttribute] String^ pszRootPathOrUrl, 
    [InAttribute] unsigned int dwFlags, 
    [InAttribute] String^ pszOptionalVDir, 
    [OutAttribute] IWebClassLibProject^% ppClassLibProject
)
abstract CreateClassLibProject : 
        pHier:IVsHierarchy * 
        pszRootPathOrUrl:string * 
        dwFlags:uint32 * 
        pszOptionalVDir:string * 
        ppClassLibProject:IWebClassLibProject byref -> int
function CreateClassLibProject(
    pHier : IVsHierarchy, 
    pszRootPathOrUrl : String, 
    dwFlags : uint, 
    pszOptionalVDir : String, 
    ppClassLibProject : IWebClassLibProject
) : int

Parameters

  • pszRootPathOrUrl
    Type: String

    The root path of the project.

  • dwFlags
    Type: UInt32

    The flags.

  • pszOptionalVDir
    Type: String

    The optional directory.

Return Value

Type: Int32
The HRESULT.

.NET Framework Security

See Also

Reference

IWebClassLibProjectSvc Interface

Microsoft.VisualStudio.Shell.Interop Namespace