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: StringThe name of the function.
undecoratedName
Type: StringThe undecorated name of the function.
namespaceName
Type: StringThe name of the namespace for the function.
className
Type: StringThe name of the class for the function.
symbolId
Type: UInt32The symbol identifier for the function.
Return Value
Type: Microsoft.VisualStudio.Coverage.Analysis.Database.DatabaseFunction
A database function.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.