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: StringThe path of the database file.
addConstraints
Type: Booleantrue to add the constraints.
Return Value
Type: Microsoft.VisualStudio.Coverage.Analysis.Database.CoverageDatabase
A new coverage database object.
.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.