CoverageDSPriv.ClassDataTable.AddClassRow 方法 (String, String, UInt32, UInt32, UInt32, UInt32, UInt32, CoverageDSPriv.NamespaceTableRow)

使用提供的資料行值,將類別資料列加入至類別資料表。 這個類別和它的成員會保留給內部使用,其目的不是要供您的程式碼使用。

命名空間:  Microsoft.VisualStudio.Coverage.Analysis
組件:  Microsoft.VisualStudio.Coverage.Analysis (在 Microsoft.VisualStudio.Coverage.Analysis.dll 中)

語法

'宣告
Public Function AddClassRow ( _
    ClassKeyName As String, _
    ClassName As String, _
    LinesCovered As UInteger, _
    LinesNotCovered As UInteger, _
    LinesPartiallyCovered As UInteger, _
    BlocksCovered As UInteger, _
    BlocksNotCovered As UInteger, _
    parentNamespaceTableRowByNamespace_Class As CoverageDSPriv.NamespaceTableRow _
) As CoverageDSPriv.ClassRow
public CoverageDSPriv.ClassRow AddClassRow(
    string ClassKeyName,
    string ClassName,
    uint LinesCovered,
    uint LinesNotCovered,
    uint LinesPartiallyCovered,
    uint BlocksCovered,
    uint BlocksNotCovered,
    CoverageDSPriv.NamespaceTableRow parentNamespaceTableRowByNamespace_Class
)
public:
CoverageDSPriv::ClassRow^ AddClassRow(
    String^ ClassKeyName, 
    String^ ClassName, 
    unsigned int LinesCovered, 
    unsigned int LinesNotCovered, 
    unsigned int LinesPartiallyCovered, 
    unsigned int BlocksCovered, 
    unsigned int BlocksNotCovered, 
    CoverageDSPriv::NamespaceTableRow^ parentNamespaceTableRowByNamespace_Class
)
member AddClassRow : 
        ClassKeyName:string * 
        ClassName:string * 
        LinesCovered:uint32 * 
        LinesNotCovered:uint32 * 
        LinesPartiallyCovered:uint32 * 
        BlocksCovered:uint32 * 
        BlocksNotCovered:uint32 * 
        parentNamespaceTableRowByNamespace_Class:CoverageDSPriv.NamespaceTableRow -> CoverageDSPriv.ClassRow
public function AddClassRow(
    ClassKeyName : String, 
    ClassName : String, 
    LinesCovered : uint, 
    LinesNotCovered : uint, 
    LinesPartiallyCovered : uint, 
    BlocksCovered : uint, 
    BlocksNotCovered : uint, 
    parentNamespaceTableRowByNamespace_Class : CoverageDSPriv.NamespaceTableRow
) : CoverageDSPriv.ClassRow

參數

  • ClassKeyName
    類型:String

    此類別的主索引鍵名稱。

  • ClassName
    類型:String

    類別的名稱。

  • LinesCovered
    類型:UInt32

    涵蓋的行數。

  • LinesNotCovered
    類型:UInt32

    未涵蓋的行數。

  • LinesPartiallyCovered
    類型:UInt32

    部分涵蓋的行數。

  • BlocksCovered
    類型:UInt32

    涵蓋的區塊。

  • BlocksNotCovered
    類型:UInt32

    未涵蓋的區塊。

傳回值

類型:Microsoft.VisualStudio.Coverage.Analysis.CoverageDSPriv.ClassRow
加入的資料表資料列。

.NET Framework 安全性

請參閱

參考

CoverageDSPriv.ClassDataTable 類別

AddClassRow 多載

Microsoft.VisualStudio.Coverage.Analysis 命名空間

Microsoft.VisualStudio.Coverage.Analysis.CoverageDSPriv.ClassRow