IVCCollection Interface
Visual Studio 2015
An IVCCollection object contains the functionality that can be exercised on a collections object.
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
| Name | Description | |
|---|---|---|
![]() | Count | Gets a value indicating the number of objects in the collection. |
![]() | VCProjectEngine | Gets an object pointer to the project engine. |
| Name | Description | |
|---|---|---|
![]() | GetEnumerator() | Returns an enumerator for items in the collection. |
![]() | Item(Object^) | Selects an item in the collection. |
The following example demonstrates how to use the EnablePREfast and AdditionalOptions properties to set the /analyze:WX- switch. (Both properties are required to do this.) Specifying /analyze:WX- means that code analysis warnings will not be treated as errors when compiling with /WX. For more information, see /analyze (Code Analysis).
Show:

