latika singh

latika singh

  • NA
  • 31
  • 33.6k

VB.Net string concatenation

Mar 6 2012 5:21 PM
Dear All,

I have a following string:
axis_interface(0).Parameter

I need to pass "0" through a property which is:

Public Property Acc(ByVal index As Short) As Double
  Get
  Return axis_interface.Value("axis_interface() & index & .Par.Acceleration")
  End Get
  Set(ByVal value As Double)
  axis_interface.Value("axis_interface( " & index & ").Par.Acceleration") = value
  End Set
End Property

Please suggest how do I join the strings highlighted above so that I can relate to axis_interface(0).Parameter string.

Answers (2)