Copies a source file and adds it to the project.
Namespace: Microsoft.VisualStudio.Package.Automation
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overrides Function AddFromFileCopy ( _
filePath As String _
) As ProjectItem
'使用
Dim instance As OAProjectItems
Dim filePath As String
Dim returnValue As ProjectItem
returnValue = instance.AddFromFileCopy(filePath)
public override ProjectItem AddFromFileCopy(
string filePath
)
public:
virtual ProjectItem^ AddFromFileCopy(
String^ filePath
) override
public override function AddFromFileCopy(
filePath : String
) : ProjectItem
Parameters
- filePath
Type: System.String
Return Value
Type: ProjectItem
Returns a ProjectItem object.
Implements
ProjectItemsAddFromFileCopy(String)
Permissions
- 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.Package.Automation Namespace
AddFromFileCopy(String)