ISharePointProjectItemVirtualFileCollection.Add Method

Definition

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.

Applies to