Platform Core .NET Assemblies API
AddVar(String,Object,String) Method
See Also  Send Feedback
Terrasoft.Core.DB Namespace > QueryParameterCollection Class > AddVar Method : AddVar(String,Object,String) Method
name
The name of the query parameter being added.
value
The value of the query parameter being added.
parameterTypeName
The name of the value data type of the query parameter being added.

Glossary Item Box

In the current collection of query parameters, adds the input/output parameter with the specified name, value and name of the data type of the parameter value.

Syntax

 
C#
 
 

Parameters

name
The name of the query parameter being added.
value
The value of the query parameter being added.
parameterTypeName
The name of the value data type of the query parameter being added.

Return Value

The QueryParameter parameter with the name name that is added in the current collection of query parameters. The parameter has the data type with the parameterTypeName name and the value value.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.