Login
Try VertexFX
  • Home
  • Knowledgebase
  • Blog
  • Forum
  • Home
  • Knowledgebase
  • Blog
  • Forum

Overridden Methods

home/Knowledge Base/Technical Support/API/BackEnd API's/VBL/VertexFX Bridge Language/Data Types/VFXBO/Overridden Methods/ValidateParameter

ValidateParameter

0 views 0 December 16, 2021 hybrid-solutions


Syntax

Public Overrides Function ValidateParameter(ByVal Parameter As String, ByVal Value As String) As Boolean

This function validates the parameters that are added in your Backoffice class, it checks if the value is valid or not for this parameter, the below sample explains how to validate parameters.


Parameters

Key Description
Parameter The parameter name that is set in add parameter method called in the constructor
Value The value that should be validated

Return value

It will return true if parameter is valid otherwise false.

Sample

Public Overrides Function ValidateParameter(ByVal Parameter As String, ByVal Value As String)As Boolean Select Case Parameter             Case "Username"                 Return Value <> ""             Case "Password"                 Return Value <> ""             Case "Server"                 Return Value <> ""             Case "Port"                 Return Value <> "" And IsNumeric(Value)             Case Else                 Return True         End Select  End Function


See Also

  • Initialize
  • LogedOn
  • AcceptOrder


Back to VFXBO Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

About
VertexFX Trader has a closed-loop trading structure with Backoffice dealing desk, Client Terminals, Dedicated Hosting, White Labelling and Bridging Capabilities. Through VertexFX Risk Management Bridge...
Categories
  • Technical Support
  • Social Trading
  • VertexFX Pro Setup
  • Mobile Trader
  • Lite VertexFX Mobile Trader
Community
  • Blog
  • Forum
  • Media Center
Need Support?
If you need any further help, don't hesitate to send a support request to our support team.
Contact Support
  • Privacy Policy
  • Brokers Terms
  • Traders EULA
  • ISV Terms
  • Plugins EULA
  • Copyright 2022 hybridsolutions.com. All Rights Reserved.