MethodInformation.AddParameter Method
AddParameter adds a single name/value to the set of parameters that are used in the execution of the method.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub AddParameter ( _
parameterName As String, _
parameterValue As Object _
)
public void AddParameter(
string parameterName,
Object parameterValue
)
public:
void AddParameter(
String^ parameterName,
Object^ parameterValue
)
member AddParameter :
parameterName:string *
parameterValue:Object -> unit
public function AddParameter(
parameterName : String,
parameterValue : Object
)
Parameters
parameterName
Type: System.StringName of the parameter.
parameterValue
Type: System.ObjectValue of the parameter.
.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.