ISharePointProjectItemFile 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)

public interface ISharePointProjectItemFile : ISharePointProjectMember, 
	IAnnotatedObject, INotifyObjectDisposing, INotifyObjectDisposed, INotifyPropertyChanged, IDeployableFile, 
	ISharePointProjectStartupItem

The ISharePointProjectItemFile type exposes the following members.

  NameDescription
Public propertyAnnotationsGets an instance IAnnotationDictionary to associate custom data with the object implementing the IAnnotatedObject interface. (Inherited from IAnnotatedObject.)
Public propertyDeploymentPathGets 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 propertyDeploymentRootGets the base path where SharePoint will store the file. (Inherited from IDeployableFile.)
Public propertyDeploymentTypeGets the type of deployment to be performed to a file. (Inherited from IDeployableFile.)
Public propertyDeploymentUrlGets the absolute SharePoint url where this file is going to be deployed. (Inherited from IDeployableFile.)
Public propertyFullPathGets the full source path of the project member file or directory. (Inherited from ISharePointProjectMember.)
Public propertyIconGets the icon for the project member node displayed in Solution Explorer. (Inherited from ISharePointProjectMember.)
Public propertyIsDisposedGets whether the an object is disposed. (Inherited from INotifyObjectDisposed.)
Public propertyIsDisposingGets whether an object is disposing. (Inherited from INotifyObjectDisposing.)
Public propertyIsExpandedGets or sets whether that node is expanded in Solution Explorer. (Inherited from ISharePointProjectMember.)
Public propertyNameGets the name of the project member node displayed in Solution Explorer. (Inherited from ISharePointProjectMember.)
Public propertyProjectGets a reference to the containing project. (Inherited from ISharePointProjectMember.)
Public propertyProjectItemGets a reference to the parent project item.
Public propertyRelativePathGets the unique location of the item within the project directory. (Inherited from ISharePointProjectStartupItem.)
Public propertySourceGets the path of the file relative to the parent ProjectItem node.
Public propertyStartupUrlGets the URL to launch when the item is started. (Inherited from ISharePointProjectStartupItem.)
Top

  NameDescription
Public methodCollapseChildItemsEnsures that all child items of this ISharePointProjectMember are collapsed in Solution Explorer. (Inherited from ISharePointProjectMember.)
Top

  NameDescription
Public eventDeploymentPathChangedOccurs when DeploymentPath is changed. (Inherited from IDeployableFile.)
Public eventDeploymentTypeChangedOccurs when DeploymentType is changed. (Inherited from IDeployableFile.)
Public eventDisposedOccurs when an object is disposed. (Inherited from INotifyObjectDisposed.)
Public eventDisposingOccurs when an object is being disposed. (Inherited from INotifyObjectDisposing.)
Public eventNameChangedOccurs when the name of the project member node is changed. (Inherited from ISharePointProjectMember.)
Public eventPropertyChangedOccurs when a property value changes. (Inherited from INotifyPropertyChanged.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft