Share via


CoverageInfo.CreateFromFile Method (String, IEnumerable<String>, IEnumerable<String>)

Creates a new CoverageInfo object by using the provided path for an XML file that contains serialized coverage information, a list of executable paths, and a list of symbol paths. 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 Shared Function CreateFromFile ( _
    path As String, _
    executablePaths As IEnumerable(Of String), _
    symbolPaths As IEnumerable(Of String) _
) As CoverageInfo
public static CoverageInfo CreateFromFile(
    string path,
    IEnumerable<string> executablePaths,
    IEnumerable<string> symbolPaths
)
public:
static CoverageInfo^ CreateFromFile(
    String^ path, 
    IEnumerable<String^>^ executablePaths, 
    IEnumerable<String^>^ symbolPaths
)
static member CreateFromFile : 
        path:string * 
        executablePaths:IEnumerable<string> * 
        symbolPaths:IEnumerable<string> -> CoverageInfo
public static function CreateFromFile(
    path : String, 
    executablePaths : IEnumerable<String>, 
    symbolPaths : IEnumerable<String>
) : CoverageInfo

Parameters

  • path
    Type: String

    The path and file name of the XML file.

  • executablePaths
    Type: IEnumerable<String>

    A list of executable paths.

  • symbolPaths
    Type: IEnumerable<String>

    A list of symbol paths.

Return Value

Type: Microsoft.VisualStudio.Coverage.Analysis.CoverageInfo
A CoverageInfo object.

.NET Framework Security

See Also

Reference

CoverageInfo Class

CreateFromFile Overload

Microsoft.VisualStudio.Coverage.Analysis Namespace