Share via


CoverageDatabase.Create Method (String, Boolean)

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

Creates and populates a coverage database from the specified file and optionally adds the constraints. 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 Create ( _
    path As String, _
    addConstraints As Boolean _
) As CoverageDatabase
public static CoverageDatabase Create(
    string path,
    bool addConstraints
)
public:
static CoverageDatabase^ Create(
    String^ path, 
    bool addConstraints
)
static member Create : 
        path:string * 
        addConstraints:bool -> CoverageDatabase
public static function Create(
    path : String, 
    addConstraints : boolean
) : CoverageDatabase

Parameters

  • path
    Type: String

    The path of the database file.

  • addConstraints
    Type: Boolean

    true to add the constraints.

Return Value

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

.NET Framework Security

See Also

Reference

CoverageDatabase Class

Create Overload

Microsoft.VisualStudio.Coverage.Analysis.Database Namespace