ISharePointProjectItemVirtualFileCollection.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a new virtual file.
public:
Microsoft::VisualStudio::SharePoint::ISharePointProjectItemVirtualFile ^ Add(System::String ^ source, Microsoft::VisualStudio::SharePoint::DeploymentType deploymentType);
public Microsoft.VisualStudio.SharePoint.ISharePointProjectItemVirtualFile Add (string source, Microsoft.VisualStudio.SharePoint.DeploymentType deploymentType);
abstract member Add : string * Microsoft.VisualStudio.SharePoint.DeploymentType -> Microsoft.VisualStudio.SharePoint.ISharePointProjectItemVirtualFile
Public Function Add (source As String, deploymentType As DeploymentType) As ISharePointProjectItemVirtualFile
Parameters
- source
- String
The source location for the virtual file.
- deploymentType
- DeploymentType
The deployment type.
Returns
An instance of ISharePointProjectItemVirtualFile created with the provided arguments.