FlavoredProjectFactoryBase.IVsProjectFactory.CreateProject Method

Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

声明
Private Function CreateProject ( _
    fileName As String, _
    ___location As String, _
    name As String, _
    flags As UInteger, _
    ByRef projectGuid As Guid, _
    <OutAttribute> ByRef project As IntPtr, _
    <OutAttribute> ByRef canceled As Integer _
) As Integer Implements IVsProjectFactory.CreateProject
用法
Dim instance As FlavoredProjectFactoryBase
Dim fileName As String
Dim ___location As String
Dim name As String
Dim flags As UInteger
Dim projectGuid As Guid
Dim project As IntPtr
Dim canceled As Integer
Dim returnValue As Integer

returnValue = CType(instance, IVsProjectFactory).CreateProject(fileName, _
    ___location, name, flags, projectGuid, _
    project, canceled)
int IVsProjectFactory.CreateProject(
    string fileName,
    string ___location,
    string name,
    uint flags,
    ref Guid projectGuid,
    out IntPtr project,
    out int canceled
)
private:
virtual int CreateProject(
    String^ fileName, 
    String^ ___location, 
    String^ name, 
    unsigned int flags, 
    Guid% projectGuid, 
    [OutAttribute] IntPtr% project, 
    [OutAttribute] int% canceled
) sealed = IVsProjectFactory::CreateProject
private abstract CreateProject : 
        fileName:string * 
        ___location:string * 
        name:string * 
        flags:uint32 * 
        projectGuid:Guid byref * 
        project:IntPtr byref * 
        canceled:int byref -> int 
private override CreateProject : 
        fileName:string * 
        ___location:string * 
        name:string * 
        flags:uint32 * 
        projectGuid:Guid byref * 
        project:IntPtr byref * 
        canceled:int byref -> int 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32

Implements

IVsProjectFactory.CreateProject(String, String, String, UInt32, Guid%, IntPtr%, Int32%)

.NET Framework Security

See Also

Reference

FlavoredProjectFactoryBase Class

FlavoredProjectFactoryBase Members

Microsoft.VisualStudio.Shell.Flavor Namespace