Partager via


ISharePointProjectItemVirtualFile Interface

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

Represents a file in the SharePoint project system.

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Public Interface ISharePointProjectItemVirtualFile _
    Inherits IDeployableFile, INotifyObjectDisposing, INotifyObjectDisposed, INotifyPropertyChanged
public interface ISharePointProjectItemVirtualFile : IDeployableFile, 
    INotifyObjectDisposing, INotifyObjectDisposed, INotifyPropertyChanged

The ISharePointProjectItemVirtualFile type exposes the following members.

Properties

  Name Description
Public property DeploymentPath Gets or sets the path of the file as it will be deployed in SharePoint relative to the base path represented by DeploymentRoot. (Inherited from IDeployableFile.)
Public property DeploymentRoot Gets the base path where SharePoint will store the file. (Inherited from IDeployableFile.)
Public property DeploymentType Gets the type of deployment to be performed to a file. (Inherited from IDeployableFile.)
Public property DeploymentUrl Gets the absolute SharePoint url where this file is going to be deployed. (Inherited from IDeployableFile.)
Public property GroupId Gets or sets an identifier that allows a build task do specific processing on this virtual file.
Public property IsDisposed Gets whether the an object is disposed. (Inherited from INotifyObjectDisposed.)
Public property IsDisposing Gets whether an object is disposing. (Inherited from INotifyObjectDisposing.)
Public property ProjectItem Gets a reference to the parent project item.
Public property Source Gets the path of the file relative to the parent ProjectItem node.

Top

Events

  Name Description
Public event DeploymentPathChanged Occurs when DeploymentPath is changed. (Inherited from IDeployableFile.)
Public event DeploymentTypeChanged Occurs when DeploymentType is changed. (Inherited from IDeployableFile.)
Public event Disposed Occurs when an object is disposed. (Inherited from INotifyObjectDisposed.)
Public event Disposing Occurs when an object is being disposed. (Inherited from INotifyObjectDisposing.)
Public event PropertyChanged Occurs when a property value changes. (Inherited from INotifyPropertyChanged.)

Top

See Also

Reference

Microsoft.VisualStudio.SharePoint Namespace