2
Answers

VB.Net string concatenation

latika singh

latika singh

12y
2.3k
1
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)