Export (0) Print
Expand All

FullReferencesPath Property

Visual Studio .NET 2003

Returns the path to search for references, including all inherited parts of the path.

[Visual Basic .NET]
Public ReadOnly Property FullReferencesPath() As String
[Visual Basic 6]
Property Get FullReferencesPath() As String
HRESULT __stdcall get_FullReferencesPath(
   /* [out, retval] */ BSTR* retVal
public string FullReferencesPath {get;}
[JScript .NET]
public function get FullReferencesPath() : String

Return Value

A string representing the path to search for references.


The following sample code modifies the FullReferencesPath property in the development environment:

' add reference to Microsoft.VisualStudio.VCProjectEngine
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine

Public Module Module1
    Sub Test()
        Dim prj As VCProject
        Dim cfgs As IVCCollection
        Dim cfg As VCConfiguration
        prj = DTE.Solution.Projects.Item(1).Object
        cfgs = prj.Configurations
        cfg = cfgs.Item(1)
        MsgBox("Full references path: " & cfg.FullReferencesPath)
    End Sub
End Module

See Samples for Project Model Extensibility for information on how to compile and run this sample.

See Also

Applies To: VCConfiguration Object | VCStyleSheet Object

© 2014 Microsoft