VCConfiguration.FileTools Property
Lists the available tools that operate on files.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
ReadOnly Property FileTools As IVCCollection
Dim instance As VCConfiguration
Dim value As IVCCollection
value = instance.FileTools
IVCCollection FileTools { get; }
property IVCCollection^ FileTools {
IVCCollection^ get ();
}
function get FileTools () : IVCCollection
Property Value
Type: Microsoft.VisualStudio.VCProjectEngine.IVCCollection
A IVCCollection object.
Examples
See How to: Compile Example Code for Project Model Extensibility for information about how to compile and run this example.
The following example modifies the VCConfiguration object's FileTools property in the integrated development environment (IDE):
' 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
MsgBox(cfgs2.Item(idx).ToolName)
Next
End Sub
End Module
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.