Aracılığıyla paylaş


VCProject.VCReferences Özellik

Seçili proje için başvuruları topluluğu alır.

Ad alanı:  Microsoft.VisualStudio.VCProjectEngine
Derleme:  Microsoft.VisualStudio.VCProjectEngine (Microsoft.VisualStudio.VCProjectEngine.dll içinde)

Sözdizimi

'Bildirim
ReadOnly Property VCReferences As Object
Object VCReferences { get; }
property Object^ VCReferences {
    Object^ get ();
}
abstract VCReferences : Object with get
function get VCReferences () : Object

Özellik Değeri

Tür: System.Object
Seçili proje için başvuruları topluluğu.

Örnekler

Bkz: Nasıl yapılır: proje modeli genişletilebilirlik amacıyla örnek kodu derleyin derlemek ve bu örnek çalıştırma hakkında bilgi için.

' Add a reference to Microsoft.VisualStudio.VCProjectEngine and have a 
' Visual C++ project that contains a reference loaded before running 
' this example.
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine

Public Module Module1
    Sub Test()
        Dim prj As VCProject
        Dim ref As VCReference

        prj = DTE.Solution.Item(1).Object
        ref = prj.VCReferences.Item(1)
        MsgBox("Reference name: " & ref.Name)
        MsgBox("Reference path: " & ref.FullPath)
    End Sub
End Module

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

VCProject Arabirim

Microsoft.VisualStudio.VCProjectEngine Ad Alanı