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

FreshBooksParameter Constructor
Initializes a new instance of the FreshBooksParameter class.
Syntax
'Declaration
 
Public Function New()
 
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
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