Partager via


ISharePointProjectItemFileCollection.AddFromFileCopy Method

Include Protected Members
Include Inherited Members

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Adds a new file as a copy of another file. The file is added to the SharePoint project item folder.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method AddFromFileCopy(String) Adds a new file as a copy of the specified file. The file is added to the SharePoint project item folder.
Public method AddFromFileCopy(String, String) Adds a copy of the specified file to the specified subdirectory as a project item file. The file is added to the SharePoint project item folder.

Top

See Also

Reference

ISharePointProjectItemFileCollection Interface

Microsoft.VisualStudio.SharePoint Namespace