CoverageInfo.BuildDataSet Method (Boolean, IEnumerable<Guid>, IEnumerable<String>)
Builds a CoverageDS data set by using the provided indication of whether to build a summary, a list of tests, and a list of modules. This class and its members are reserved for internal use and are not intended to be used in your code.
Namespace: Microsoft.VisualStudio.Coverage.Analysis
Assembly: Microsoft.VisualStudio.Coverage.Analysis (in Microsoft.VisualStudio.Coverage.Analysis.dll)
Syntax
'Declaration
Public Function BuildDataSet ( _
summaryOnly As Boolean, _
tests As IEnumerable(Of Guid), _
modules As IEnumerable(Of String) _
) As CoverageDS
public CoverageDS BuildDataSet(
bool summaryOnly,
IEnumerable<Guid> tests,
IEnumerable<string> modules
)
public:
CoverageDS^ BuildDataSet(
bool summaryOnly,
IEnumerable<Guid>^ tests,
IEnumerable<String^>^ modules
)
member BuildDataSet :
summaryOnly:bool *
tests:IEnumerable<Guid> *
modules:IEnumerable<string> -> CoverageDS
public function BuildDataSet(
summaryOnly : boolean,
tests : IEnumerable<Guid>,
modules : IEnumerable<String>
) : CoverageDS
Parameters
- summaryOnly
Type: System.Boolean
true if only the modules that are referenced by the provided test information will be included in the data set; false to include all coverage data.
- tests
Type: System.Collections.Generic.IEnumerable<Guid>
A list of GUIDs for the tests to use to build the data set.
- modules
Type: System.Collections.Generic.IEnumerable<String>
A list of code modules to use to build the data set.
Return Value
Type: Microsoft.VisualStudio.Coverage.Analysis.CoverageDS
A CoverageDS data set.
.NET Framework Security
- 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.