dotConnect for Salesforce Documentation
Devart.Data.Salesforce Namespace / SalesforceParameter Class / SalesforceParameter Constructor / SalesforceParameter Constructor(String,Object)
The name of the parameter.
An Object that is the value of the SalesforceParameter.
Example

In This Topic
SalesforceParameter Constructor(String,Object)
In This Topic
Initializes a new instance of the SalesforceParameter class with the parameter name and a SalesforceParameter object.
Syntax
'Declaration
 
Public Function New( _
   ByVal parameterName As String, _
   ByVal value As Object _
)
 

Parameters

parameterName
The name of the parameter.
value
An Object that is the value of the SalesforceParameter.
Example
The following example creates a new SalesforceParameter and sets some of its properties.
public void CreateSalesforceParameter() 
{
        SalesforceParameter myParameter = new SalesforceParameter("DName", "e.g.: some string value");
        myParameter.Direction = ParameterDirection.Input;
}
Public Sub CreateSalesforceParameter()
        Dim myParameter As New SalesforceParameter("DName", "e.g.: some string value")
        myParameter.Direction = ParameterDirection.Input
End Sub 'CreateSalesforceParameter
See Also