How to make Object type comparision ??

  • Thread starter Thread starter serge calderara
  • Start date Start date
S

serge calderara

Dear all,

I have define a suer type as follow

Structure USER_PARAM_LIST
Dim LastUser As String
Dim SaveEntry As Boolean
End Structure

and a variable of that type
Dim m_structUserParamList As USER_PARAM_LIST

How can I compare an object type to knwo if it is a
USER_PARAM_LIST type?

someting like this

if ParamList.GetType Is m_structUserParamList.GetType Then

thnaks for your help
regards
 
How can I compare an object type to knwo if it is a
USER_PARAM_LIST type?

If TypeOf ParamList Is USER_PARAM_LIST Then

or

If ParamList.GetType() Is GetType(USER_PARAM_LIST) Then



Mattias
 
Back
Top