ISharePointProjectItemFile, interface

Représente un fichier dans le système de projet SharePoint.

Espace de noms :  Microsoft.VisualStudio.SharePoint
Assembly :  Microsoft.VisualStudio.SharePoint (dans Microsoft.VisualStudio.SharePoint.dll)

Syntaxe

'Déclaration
Public Interface ISharePointProjectItemFile _
    Inherits ISharePointProjectMember, IAnnotatedObject, INotifyObjectDisposing, INotifyObjectDisposed,  _
    INotifyPropertyChanged, IDeployableFile, ISharePointProjectStartupItem
public interface ISharePointProjectItemFile : ISharePointProjectMember, 
    IAnnotatedObject, INotifyObjectDisposing, INotifyObjectDisposed, INotifyPropertyChanged, IDeployableFile, 
    ISharePointProjectStartupItem

Le type ISharePointProjectItemFile expose les membres suivants.

Propriétés

  Nom Description
Propriété publique Annotations Obtient une instance de IAnnotationDictionary permettant d'associer des données personnalisées à l'objet implémentant l'interface IAnnotatedObject. (Hérité de IAnnotatedObject.)
Propriété publique DeploymentPath Obtient ou définit le chemin d'accès du fichier tel qu'il sera déployé dans SharePoint par rapport au chemin d'accès de base représenté par DeploymentRoot. (Hérité de IDeployableFile.)
Propriété publique DeploymentRoot Obtient le chemin d'accès de base dans lequel SharePoint stockera le fichier. (Hérité de IDeployableFile.)
Propriété publique DeploymentType Obtient le type de déploiement à exécuter sur un fichier. (Hérité de IDeployableFile.)
Propriété publique FullPath Obtient le chemin source complet du répertoire ou du fichier membre du projet. (Hérité de ISharePointProjectMember.)
Propriété publique Icon Obtient l'icône du nœud membre du projet affiché dans l'Explorateur de solutions. (Hérité de ISharePointProjectMember.)
Propriété publique IsDisposed Obtient une valeur indiquant si un objet est supprimé. (Hérité de INotifyObjectDisposed.)
Propriété publique IsDisposing Obtient une valeur indiquant si un objet est en cours de suppression. (Hérité de INotifyObjectDisposing.)
Propriété publique IsExpanded Obtient ou définit une valeur indiquant si ce nœud est développé dans l'Explorateur de solutions. (Hérité de ISharePointProjectMember.)
Propriété publique Name Obtient le nom du nœud membre du projet affiché dans l'Explorateur de solutions. (Hérité de ISharePointProjectMember.)
Propriété publique Project Obtient une référence au projet conteneur. (Hérité de ISharePointProjectMember.)
Propriété publique ProjectItem Obtient une référence à l'élément de projet parent.
Propriété publique RelativePath Obtient l'emplacement unique de l'élément dans le répertoire de projet. (Hérité de ISharePointProjectStartupItem.)
Propriété publique Source Obtient le chemin d'accès relatif du fichier par rapport au nœud ProjectItem parent.
Propriété publique StartupUrl Obtient l'URL à lancer lors du démarrage de l'élément. (Hérité de ISharePointProjectStartupItem.)

Début

Méthodes

  Nom Description
Méthode publique CollapseChildItems Garantit que tous les éléments enfants de ce ISharePointProjectMember sont réduits dans l'Explorateur de solutions. (Hérité de ISharePointProjectMember.)

Début

Événements

  Nom Description
Événement public DeploymentPathChanged Se produit lorsque la propriété DeploymentPath est modifiée. (Hérité de IDeployableFile.)
Événement public DeploymentTypeChanged Se produit lorsque la propriété DeploymentType est modifiée. (Hérité de IDeployableFile.)
Événement public Disposed Se produit lorsqu'un objet est supprimé. (Hérité de INotifyObjectDisposed.)
Événement public Disposing Se produit lorsqu'un objet est en cours de suppression. (Hérité de INotifyObjectDisposing.)
Événement public NameChanged Se produit lorsque le nom du nœud membre du projet est modifié. (Hérité de ISharePointProjectMember.)
Événement public PropertyChanged Se produit lorsqu'une valeur de propriété est modifiée. (Hérité de INotifyPropertyChanged.)

Début

Voir aussi

Référence

Microsoft.VisualStudio.SharePoint, espace de noms