CoverageInfo.CreateFromFile Method (String)
Creates a new CoverageInfo object by using the provided path of an XML file that contains serialized coverage information. 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 _
) As CoverageInfo
public static CoverageInfo CreateFromFile(
string path
)
public:
static CoverageInfo^ CreateFromFile(
String^ path
)
static member CreateFromFile :
path:string -> CoverageInfo
public static function CreateFromFile(
path : String
) : CoverageInfo
Parameters
- path
Type: System.String
The path and file name of the XML file.
Return Value
Type: Microsoft.VisualStudio.Coverage.Analysis.CoverageInfo
A CoverageInfo 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.