Share via


CoverageDatabase.CreateFromCoverage Method (String, IEnumerable<String>, IEnumerable<String>, String)

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Creates a new coverage database file by using the provided parameters. 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.Database
Assembly:  Microsoft.VisualStudio.Coverage.Analysis (in Microsoft.VisualStudio.Coverage.Analysis.dll)

Syntax

'Declaration
Public Shared Function CreateFromCoverage ( _
    coverageFilePath As String, _
    executablePaths As IEnumerable(Of String), _
    symbolPaths As IEnumerable(Of String), _
    databasePath As String _
) As CoverageDatabase
public static CoverageDatabase CreateFromCoverage(
    string coverageFilePath,
    IEnumerable<string> executablePaths,
    IEnumerable<string> symbolPaths,
    string databasePath
)
public:
static CoverageDatabase^ CreateFromCoverage(
    String^ coverageFilePath, 
    IEnumerable<String^>^ executablePaths, 
    IEnumerable<String^>^ symbolPaths, 
    String^ databasePath
)
static member CreateFromCoverage : 
        coverageFilePath:string * 
        executablePaths:IEnumerable<string> * 
        symbolPaths:IEnumerable<string> * 
        databasePath:string -> CoverageDatabase 
public static function CreateFromCoverage(
    coverageFilePath : String, 
    executablePaths : IEnumerable<String>, 
    symbolPaths : IEnumerable<String>, 
    databasePath : String
) : CoverageDatabase

Parameters

  • coverageFilePath
    Type: System.String
    The path of the coverage file.
  • databasePath
    Type: System.String
    The path of the new database file to create.

Return Value

Type: Microsoft.VisualStudio.Coverage.Analysis.Database.CoverageDatabase
A new coverage database file.

.NET Framework Security

See Also

Reference

CoverageDatabase Class

CreateFromCoverage Overload

Microsoft.VisualStudio.Coverage.Analysis.Database Namespace