CoverageDSPriv.MethodDataTable.AddMethodRow Method (String, String, String, UInt32, UInt32, UInt32, UInt32, UInt32, CoverageDSPriv.ClassRow)
Adds a CoverageDSPriv.MethodRow that contains the provided values. 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 Function AddMethodRow ( _
MethodKeyName As String, _
MethodName As String, _
MethodFullName As String, _
LinesCovered As UInteger, _
LinesPartiallyCovered As UInteger, _
LinesNotCovered As UInteger, _
BlocksCovered As UInteger, _
BlocksNotCovered As UInteger, _
parentClassRowByClass_Method As CoverageDSPriv..::..ClassRow _
) As CoverageDSPriv..::..MethodRow
public CoverageDSPriv..::..MethodRow AddMethodRow(
string MethodKeyName,
string MethodName,
string MethodFullName,
uint LinesCovered,
uint LinesPartiallyCovered,
uint LinesNotCovered,
uint BlocksCovered,
uint BlocksNotCovered,
CoverageDSPriv..::..ClassRow parentClassRowByClass_Method
)
public:
CoverageDSPriv..::..MethodRow^ AddMethodRow(
String^ MethodKeyName,
String^ MethodName,
String^ MethodFullName,
unsigned int LinesCovered,
unsigned int LinesPartiallyCovered,
unsigned int LinesNotCovered,
unsigned int BlocksCovered,
unsigned int BlocksNotCovered,
CoverageDSPriv..::..ClassRow^ parentClassRowByClass_Method
)
member AddMethodRow :
MethodKeyName:string *
MethodName:string *
MethodFullName:string *
LinesCovered:uint32 *
LinesPartiallyCovered:uint32 *
LinesNotCovered:uint32 *
BlocksCovered:uint32 *
BlocksNotCovered:uint32 *
parentClassRowByClass_Method:CoverageDSPriv..::..ClassRow -> CoverageDSPriv..::..MethodRow
public function AddMethodRow(
MethodKeyName : String,
MethodName : String,
MethodFullName : String,
LinesCovered : uint,
LinesPartiallyCovered : uint,
LinesNotCovered : uint,
BlocksCovered : uint,
BlocksNotCovered : uint,
parentClassRowByClass_Method : CoverageDSPriv..::..ClassRow
) : CoverageDSPriv..::..MethodRow
Parameters
- MethodKeyName
Type: System.String
The key name for the method.
- MethodName
Type: System.String
The method name.
- MethodFullName
Type: System.String
The full name of the method.
- LinesCovered
Type: System.UInt32
The number of method code lines that are covered by the analysis.
- LinesPartiallyCovered
Type: System.UInt32
The number of method code lines that are partially covered by the analysis.
- LinesNotCovered
Type: System.UInt32
The number of method code lines that are not covered by the analysis.
- BlocksCovered
Type: System.UInt32
The number of method code blocks that are covered by the analysis.
- BlocksNotCovered
Type: System.UInt32
The number of method code blocks that are not covered by the analysis.
- parentClassRowByClass_Method
Type: Microsoft.VisualStudio.Coverage.Analysis.CoverageDSPriv.ClassRow
The CoverageDSPriv.ClassRow for the class that contains the method.
Return Value
Type: Microsoft.VisualStudio.Coverage.Analysis.CoverageDSPriv.MethodRow
The method row that was added.
.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.
See Also
Reference
CoverageDSPriv.MethodDataTable Class