Export (0) Print
Expand All
Expand Minimize

ReferenceTools Property

Visual Studio .NET 2003

Returns a list of the available tools that operate on references.

[Visual Basic .NET]
Public ReadOnly Property ReferenceTools() As IVCCollection
[Visual Basic 6]
Property Get ReferenceTools() As IVCCollection
[C++]
HRESULT __stdcall get_ReferenceTools(
   /* [out, retval] */ IVCCollection** retVal
);
[C#]
public IVCCollection ReferenceTools {get;}
[JScript .NET]
public function get ReferenceTools() : IVCCollection

Return Value

Returns an IVCCollection collection.

Example

' Add a reference to Microsoft.VisualStudio.VCProjectEngine and have a 
' Visual C++ .NET project loaded before running this example.
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine
Public Module Module1
    Sub Test()
        Dim prj As VCProject
        Dim cfgs As IVCCollection
        Dim cfg As VCConfiguration
        Dim MyDbg As VCDebugSettings
        prj = DTE.Solution.Projects.Item(1).Object
        cfgs = prj.Configurations
        cfg = cfgs.Item(1)
        MsgBox("Number of reference Tools: " & cfg.ReferenceTools.Count)
    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

Show:
© 2014 Microsoft