Share via


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

OANavigableProjectItems Class

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