Share via


DatabaseModule.AddFunction Method

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

Adds a function record for this 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 AddFunction ( _
    name As String, _
    undecoratedName As String, _
    namespaceName As String, _
    className As String, _
    symbolId As UInteger _
) As DatabaseFunction
public DatabaseFunction AddFunction(
    string name,
    string undecoratedName,
    string namespaceName,
    string className,
    uint symbolId
)
public:
DatabaseFunction^ AddFunction(
    String^ name, 
    String^ undecoratedName, 
    String^ namespaceName, 
    String^ className, 
    unsigned int symbolId
)
member AddFunction : 
        name:string * 
        undecoratedName:string * 
        namespaceName:string * 
        className:string * 
        symbolId:uint32 -> DatabaseFunction
public function AddFunction(
    name : String, 
    undecoratedName : String, 
    namespaceName : String, 
    className : String, 
    symbolId : uint
) : DatabaseFunction

Parameters

  • name
    Type: String

    The name of the function.

  • undecoratedName
    Type: String

    The undecorated name of the function.

  • namespaceName
    Type: String

    The name of the namespace for the function.

  • className
    Type: String

    The name of the class for the function.

  • symbolId
    Type: UInt32

    The symbol identifier for the function.

Return Value

Type: Microsoft.VisualStudio.Coverage.Analysis.Database.DatabaseFunction
A database function.

.NET Framework Security

See Also

Reference

DatabaseModule Class

Microsoft.VisualStudio.Coverage.Analysis.Database Namespace

DatabaseFunction