You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not so convenient and not a brief code, and I think this situation can be simplify with the VisualBasic With keyword
Dim_valueAs<Value>' maps both get and setPublicPropertyValueAsStringWith_value.Label' maps readonlyPublicReadOnlyPropertyValue2AsStringWith_value.Label' maps writeonlyPublicWriteOnlyPropertyValue3AsStringWith_value.Label
Or with two lines of code syntax
Dim_valueAs<Value>' maps both get and setPublicPropertyValueAsStringWith_value.Label' maps readonlyPublicReadOnlyPropertyValue2AsStringWith_value.Label' maps writeonlyPublicWriteOnlyPropertyValue3AsStringWith_value.Label
Which it means the Value property its value was mapped to the property of another object _value.Label, this will makes the code more beautiful and briefly.
The text was updated successfully, but these errors were encountered:
xieguigang
changed the title
With Keyword Syntax for property mapping
New Feature, VisualBasic With Keyword Syntax for property mapping
Dec 6, 2016
Hi, currently, if we want to get or set property value to another object, 7 lines of code must be used,
Current:
This is not so convenient and not a brief code, and I think this situation can be simplify with the VisualBasic
With
keywordOr with two lines of code syntax
Which it means the
Value
property its value was mapped to the property of another object_value.Label
, this will makes the code more beautiful and briefly.The text was updated successfully, but these errors were encountered: