Share via


OAProjectItems.AddFromTemplate Method

This class and its members are reserved for internal use and are not intended to be used in your code.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.Internal
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
Public Overrides Function AddFromTemplate ( _
    fileName As String, _
    name As String _
) As ProjectItem
public override ProjectItem AddFromTemplate(
    string fileName,
    string name
)
public:
virtual ProjectItem^ AddFromTemplate(
    String^ fileName, 
    String^ name
) override
abstract AddFromTemplate : 
        fileName:string * 
        name:string -> ProjectItem 
override AddFromTemplate : 
        fileName:string * 
        name:string -> ProjectItem 
public override function AddFromTemplate(
    fileName : String, 
    name : String
) : ProjectItem

Parameters

  • fileName
    Type: System.String
    The full path and file name of the template project file.

Return Value

Type: EnvDTE.ProjectItem
A ProjectItem object.

Implements

ProjectItems.AddFromTemplate(String, String)

.NET Framework Security

See Also

Reference

OAProjectItems Class

Microsoft.VisualStudio.Data.Schema.Package.Internal Namespace