IVCCollection Interface


An IVCCollection object contains the functionality that can be exercised on a collections object.

Namespace:   Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

public interface class IVCCollection : IEnumerable


Gets a value indicating the number of objects in the collection.


Gets an object pointer to the project engine.


Returns an enumerator for items in the collection.


Selects an item in the collection.

For example, the Files property of a VCFilter object is a collection of the files in a folder.

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).

No code example is currently available or this language may not be supported.
Return to top