Share via


DatabaseFunction.AddBlock Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Adds a code block to the database by using the provided parameters. 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.Database
Assembly:  Microsoft.VisualStudio.Coverage.Analysis (in Microsoft.VisualStudio.Coverage.Analysis.dll)

Syntax

'Declaration
Public Sub AddBlock ( _
    blockIndex As UInteger, _
    sourceFile As String, _
    startLine As UInteger, _
    startColumn As UInteger, _
    endLine As UInteger, _
    endColumn As UInteger _
)
public void AddBlock(
    uint blockIndex,
    string sourceFile,
    uint startLine,
    uint startColumn,
    uint endLine,
    uint endColumn
)
public:
void AddBlock(
    unsigned int blockIndex, 
    String^ sourceFile, 
    unsigned int startLine, 
    unsigned int startColumn, 
    unsigned int endLine, 
    unsigned int endColumn
)
member AddBlock : 
        blockIndex:uint32 * 
        sourceFile:string * 
        startLine:uint32 * 
        startColumn:uint32 * 
        endLine:uint32 * 
        endColumn:uint32 -> unit
public function AddBlock(
    blockIndex : uint, 
    sourceFile : String, 
    startLine : uint, 
    startColumn : uint, 
    endLine : uint, 
    endColumn : uint
)

Parameters

  • blockIndex
    Type: UInt32

    The index of the code block in the module.

  • sourceFile
    Type: String

    The path of the source file.

  • startLine
    Type: UInt32

    The index of the starting line of the code block in the module.

  • startColumn
    Type: UInt32

    The index of the starting column of the code block in the module.

  • endLine
    Type: UInt32

    The index of the last line of the code block in the module.

  • endColumn
    Type: UInt32

    The index of the ending column of the code block in the module.

.NET Framework Security

See Also

Reference

DatabaseFunction Class

Microsoft.VisualStudio.Coverage.Analysis.Database Namespace