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未涵蓋的區塊。
parentNamespaceTableRowByNamespace_Class
類型:Microsoft.VisualStudio.Coverage.Analysis.CoverageDSPriv.NamespaceTableRow父資料表資料列的完整類別名稱。
傳回值
類型:Microsoft.VisualStudio.Coverage.Analysis.CoverageDSPriv.ClassRow
加入的資料表資料列。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
CoverageDSPriv.ClassDataTable 類別
Microsoft.VisualStudio.Coverage.Analysis 命名空間
Microsoft.VisualStudio.Coverage.Analysis.CoverageDSPriv.ClassRow