Share via


CoverageDatabase.AddModule Method

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

Adds a module 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 Function AddModule ( _
    name As String, _
    imageSize As UInteger, _
    imageLinkTime As UInteger, _
    signature As Guid, _
    signatureAge As UInteger, _
    blockCount As UInteger _
) As DatabaseModule
public DatabaseModule AddModule(
    string name,
    uint imageSize,
    uint imageLinkTime,
    Guid signature,
    uint signatureAge,
    uint blockCount
)
public:
DatabaseModule^ AddModule(
    String^ name, 
    unsigned int imageSize, 
    unsigned int imageLinkTime, 
    Guid signature, 
    unsigned int signatureAge, 
    unsigned int blockCount
)
member AddModule : 
        name:string * 
        imageSize:uint32 * 
        imageLinkTime:uint32 * 
        signature:Guid * 
        signatureAge:uint32 * 
        blockCount:uint32 -> DatabaseModule
public function AddModule(
    name : String, 
    imageSize : uint, 
    imageLinkTime : uint, 
    signature : Guid, 
    signatureAge : uint, 
    blockCount : uint
) : DatabaseModule

Parameters

  • name
    Type: String

    The name of the module.

  • imageSize
    Type: UInt32

    The size of the assembly in bytes.

  • imageLinkTime
    Type: UInt32

    The time stamp for when the module was compiled and linked.

  • signature
    Type: Guid

    The GUID for the signature of the module.

  • signatureAge
    Type: UInt32

    The age of the module.

  • blockCount
    Type: UInt32

    The number of code blocks in the module.

Return Value

Type: Microsoft.VisualStudio.Coverage.Analysis.Database.DatabaseModule
The database module object.

.NET Framework Security

See Also

Reference

CoverageDatabase Class

Microsoft.VisualStudio.Coverage.Analysis.Database Namespace

DatabaseModule