CoverageDatabase.AddModule Method (String, UInt32, UInt32, Guid, UInt32, UInt32)

 

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

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 As String,
    imageSize As UInteger,
    imageLinkTime As UInteger,
    signature As Guid,
    signatureAge As UInteger,
    blockCount As UInteger
) As DatabaseModule

Parameters

  • imageSize
    Type: System.UInt32

    The size of the assembly in bytes.

  • imageLinkTime
    Type: System.UInt32

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

  • signature
    Type: System.Guid

    The GUID for the signature of the module.

  • blockCount
    Type: System.UInt32

    The number of code blocks in the module.

Return Value

Type: Microsoft.VisualStudio.Coverage.Analysis.Database.DatabaseModule

The database module object.

See Also

DatabaseModule
CoverageDatabase Class
Microsoft.VisualStudio.Coverage.Analysis.Database Namespace

Return to top