.net - How to use `Me` in vb.net With...End With block -
with code "vb.net 2005"
dim dep new section dep.addnewemployee() .firstname = "mr. a" .lastname = "b" if typeof {dep.addnewemployee()'s instance} serializable 'do end if end
in {dep.addnewemployee()'s instance}
there syntax code.
is possible?
there no way using with
syntax. add together local variable references new object though:
dim dep new section dim emp = dep.addnewemployee() emp .firstname = "mr. a" .lastname = "b" if emp.gettype().isserializable 'do end if end
.net vb.net instance with-statement
No comments:
Post a Comment