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
pHier
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchyThe project hierarachy.
pszRootPathOrUrl
Type: StringThe root path of the project.
dwFlags
Type: UInt32The flags.
pszOptionalVDir
Type: StringThe optional directory.
ppClassLibProject
Type: Microsoft.VisualStudio.Shell.Interop.IWebClassLibProject%The web class library project.
Return Value
Type: Int32
The HRESULT.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.