E
Elan Dro
How we can pass the structure type (GUID) as value parameter to the
object using reflection setValue method of FieldInfo, PropertyInfo and
etc
Ex :
Public Class A
Public GUIDField as GUID
End Class
...
...
...
‘ my reflection code here
Dim Obj as New A()
Obj.GetType().GetField(“GUIDField”).SetValue(Obj, New
GUID(GUID.NewGUID().ToString()))
object using reflection setValue method of FieldInfo, PropertyInfo and
etc
Ex :
Public Class A
Public GUIDField as GUID
End Class
...
...
...
‘ my reflection code here
Dim Obj as New A()
Obj.GetType().GetField(“GUIDField”).SetValue(Obj, New
GUID(GUID.NewGUID().ToString()))