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
- 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