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.
- name
Type: System.String
Return Value
Type: EnvDTE.ProjectItem
A ProjectItem object.
Implements
ProjectItems.AddFromTemplate(String, String)
.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.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Package.Internal Namespace