Share via


OAProjectItems.AddFromFile 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 AddFromFile ( _
    fileName As String _
) As ProjectItem
public override ProjectItem AddFromFile(
    string fileName
)
public:
virtual ProjectItem^ AddFromFile(
    String^ fileName
) override
abstract AddFromFile : 
        fileName:string -> ProjectItem 
override AddFromFile : 
        fileName:string -> ProjectItem 
public override function AddFromFile(
    fileName : String
) : ProjectItem

Parameters

  • fileName
    Type: System.String
    The file name of the item to add as a project item.

Return Value

Type: EnvDTE.ProjectItem
A ProjectItem object.

Implements

ProjectItems.AddFromFile(String)

.NET Framework Security

See Also

Reference

OAProjectItems Class

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