Método Solution4.AddFromTemplateEx

Cópias existentes do projeto arquivo e os itens ou subpastas que ela contém, no local especificado e o adiciona à solução.

Namespace:  EnvDTE100
Assembly:  EnvDTE100 (em EnvDTE100.dll)

Sintaxe

'Declaração
Function AddFromTemplateEx ( _
    FileName As String, _
    Destination As String, _
    ProjectName As String, _
    SolutionName As String, _
    Exclusive As Boolean, _
    Options As UInteger _
) As Project
Project AddFromTemplateEx(
    string FileName,
    string Destination,
    string ProjectName,
    string SolutionName,
    bool Exclusive,
    uint Options
)
Project^ AddFromTemplateEx(
    [InAttribute] String^ FileName, 
    [InAttribute] String^ Destination, 
    [InAttribute] String^ ProjectName, 
    [InAttribute] String^ SolutionName, 
    [InAttribute] bool Exclusive, 
    [InAttribute] unsigned int Options
)
abstract AddFromTemplateEx : 
        FileName:string * 
        Destination:string * 
        ProjectName:string * 
        SolutionName:string * 
        Exclusive:bool * 
        Options:uint32 -> Project 
function AddFromTemplateEx(
    FileName : String, 
    Destination : String, 
    ProjectName : String, 
    SolutionName : String, 
    Exclusive : boolean, 
    Options : uint
) : Project

Parâmetros

  • FileName
    Tipo: System.String
    Obrigatório.O nome de arquivo e caminho completo com a extensão do arquivo de projeto do modelo.
  • Destination
    Tipo: System.String
    Obrigatório.O caminho completo do diretório no qual copiar o conteúdo de FileName.
  • ProjectName
    Tipo: System.String
    Obrigatório.O nome do arquivo de projeto no diretório de destino.Isso deve incluir a extensão.O nome exibido é derivado de ProjectName.
  • SolutionName
    Tipo: System.String
    Opcional.Indica se o projeto é carregado na solução atual ou a própria; trueSe a solução atual é fechada e o projeto é adicionado a uma nova solução, false se o projeto é adicionado à solução existente, é aberta.
  • Exclusive
    Tipo: System.Boolean
    Obrigatório.O nome de arquivo e caminho completo com a extensão do arquivo de projeto do modelo.

Valor de retorno

Tipo: EnvDTE.Project
Project .

Segurança do .NET Framework

Consulte também

Referência

Solution4 Interface

Namespace EnvDTE100