IVsSharedProjectReference Interface
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Représente un élément SharedProjectReference (normalement un enfant du dossier References dans le Explorateur de solutions). Les éléments SharedProjectReference représentent les fichiers de projet MSBuild importés (par exemple, le fichier *. projitems). Normalement, ces fichiers projet MSBuild partagés sont « détenus » par un projet partagé particulier (également appelé projet de ressources partagées) chargé dans la solution.
public interface class IVsSharedProjectReference : Microsoft::VisualStudio::Shell::Interop::IVsReference
public interface class IVsSharedProjectReference : Microsoft::VisualStudio::Shell::Interop::IVsReference
__interface IVsSharedProjectReference : Microsoft::VisualStudio::Shell::Interop::IVsReference
[System.Runtime.InteropServices.Guid("DD928D98-26E0-4255-A3CE-3BA866296F8B")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FOleAutomation)]
public interface IVsSharedProjectReference : Microsoft.VisualStudio.Shell.Interop.IVsReference
[<System.Runtime.InteropServices.Guid("DD928D98-26E0-4255-A3CE-3BA866296F8B")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FOleAutomation)>]
type IVsSharedProjectReference = interface
interface IVsReference
Public Interface IVsSharedProjectReference
Implements IVsReference
- Attributs
- Implémente
Propriétés
| AlreadyReferenced |
Détermine si le projet a déjà été référencé. |
| FullPath |
Obtient ou définit le chemin d’accès complet du fichier projet du projet partagé (par exemple, le fichier *. shproj). |
| Name |
Obtient ou définit le nom/la légende du projet partagé (projet propriétaire pour le fichier MSBuild partagé importé). |
| SharedMSBuildFileFullPath |
Obtient ou définit le chemin d’accès complet au fichier MSBuild partagé importé (par exemple, le fichier *. projitems). |
| SharedProjectID |
Obtient ou définit le GUID ProjectID pour le projet partagé. IVsSolution. GetGuidOfProject doit être utilisé pour récupérer le IVsHierarchy pour le projet partagé. |