dotConnect for FreshBooks Documentation
Devart.Data.FreshBooks Namespace / FreshBooksParameter Class / FreshBooksParameter Constructor
Example

In This Topic
    FreshBooksParameter Constructor
    In This Topic
    Initializes a new instance of the FreshBooksParameter class.
    Syntax
    'Declaration
     
    Public Function New()
    public FreshBooksParameter()
    Remarks
    The base constructor initializes all fields to their default values.
    Example
    The following example creates a new FreshBooksParameter and sets some of its properties.
    public void CreateFreshBooksParameter()
    {
      FreshBooksParameter myParameter = new FreshBooksParameter();
      myParameter.ParameterName = "DName";
      myParameter.FreshBooksType = FreshBooksType.VarChar;
      myParameter.Direction = ParameterDirection.Input;
      myParameter.Size = 15;
    }
    Public Sub CreateFreshBooksParameter()
      Dim myParameter As New FreshBooksParameter()
      myParameter.ParameterName = "DName"
      myParameter.FreshBooksType = FreshBooksType.VarChar
      myParameter.Direction = ParameterDirection.Input
      myParameter.Size = 15
    End Sub
    See Also