OASolutionFolder<T>.AddFromTemplate Method

Adds a subproject using the specified template in the specified location.

Namespace:  Microsoft.VisualStudio.Package.Automation
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Public Overridable Function AddFromTemplate ( _
    fileName As String, _
    destination As String, _
    projectName As String _
) As Project
'使用
Dim instance As OASolutionFolder
Dim fileName As String
Dim destination As String
Dim projectName As String
Dim returnValue As Project

returnValue = instance.AddFromTemplate(fileName, _
    destination, projectName)
public virtual Project AddFromTemplate(
    string fileName,
    string destination,
    string projectName
)
public:
virtual Project^ AddFromTemplate(
    String^ fileName, 
    String^ destination, 
    String^ projectName
)
public function AddFromTemplate(
    fileName : String, 
    destination : String, 
    projectName : String
) : Project

Parameters

Return Value

Type: Project

The newly-created Project.

Implements

SolutionFolder.AddFromTemplate(String, String, String)

Permissions

See Also

Reference

OASolutionFolder<T> Class

OASolutionFolder<T> Members

Microsoft.VisualStudio.Package.Automation Namespace