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 _
    )
    public SalesforceParameter( 
       string parameterName,
       object value
    )

    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
    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