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().G etField(“GUIDFi eld”).SetValue( Obj, New
GUID(GUID.NewGU ID().ToString() ))
*** Sent via Developersdex http://www.developersdex.com ***
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().G etField(“GUIDFi eld”).SetValue( Obj, New
GUID(GUID.NewGU ID().ToString() ))
*** Sent via Developersdex http://www.developersdex.com ***
Comment