This documentation is archived and is not being maintained.

FileTools Property

Visual Studio .NET 2003

Lists the available tools that operate on files.

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


The following sample code modifies the VCConfiguration object's FileTools property in the development environment:

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

Public Module Module1
    Sub Test()
        Dim idx As Integer
        Dim cfgs, cfgs2 As IVCCollection
        Dim cfg As VCConfiguration

        Dim prj As VCProject
        prj = DTE.Solution.Projects.Item(1).Object

        cfgs = prj.Configurations
        cfg = cfgs.Item(1)
        cfgs2 = cfg.FileTools
        For idx = 1 To cfgs2.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