IVsSharedProjectReference Arabirim

Tanım

Bir SharedProjectReference öğesini temsil eder (normalde Çözüm Gezgini). SharedProjectReference öğeleri içeri aktarılan paylaşılan MSBuild proje dosyalarını (ör. *. projıtems dosyası) temsil eder. Normalde bu paylaşılan MSBuild proje dosyaları, çözüme yüklenen belirli bir paylaşılan proje (yani, paylaşılan varlıklar Projesi) tarafından "sahipdir".

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
Öznitelikler
Uygulamalar

Özellikler

AlreadyReferenced

Projeye zaten başvurulduğunu belirler.

FullPath

Paylaşılan projenin proje dosyasının (ör. *. shproj dosyası) tam yolunu alır veya ayarlar.

Name

Paylaşılan projenin adını/resim yazısını (içeri aktarılan paylaşılan MSBuild dosyası için sahip proje) alır veya ayarlar.

SharedMSBuildFileFullPath

İçeri aktarılan paylaşılan MSBuild dosyasının tam yolunu alır veya ayarlar (örneğin, *. projıtems dosyası).

SharedProjectID

Paylaşılan proje için ProjectId GUID 'Ini alır veya ayarlar. Paylaşılan proje için IVsHierarchy 'yi almak için IVsSolution. GetGuidOfProject kullanılmalıdır.

Şunlara uygulanır