Who access that method? A external program. If yes, change the modifier of
your method to Public.
Also, check if Me.IntegerField is a public property or public variable.
[]s
Cesar
"MikeG" <Mi***@discussions.microsoft.com> wrote in message
news:92**********************************@microsof t.com...
Sorry the actual code produced is:
Private Property integerProperty as system.void
Get
Return Me.integerField
End Get
Set
Me.integerField = value
End Set
End Property
whereas it should be
Private Property integerProperty() As Integer
Get
Return Me.integerField
End Get
Set(ByVal Value As Integer)
Me.integerField = value
End Set
End Property
Thanks,
MikeG
"MikeG" wrote:
Thanks Naveen,
I dont get an error as such, the property is created as
Private Property integerProperty() As Integer
Get
Return Me.integerField
End Get
Set
Me.integerField = value
End Set
End Property
whereas it should be
Private Property integerProperty() As Integer
Get
Return Me.integerField
End Get
Set(ByVal Value As Integer)
Me.integerField = value
End Set
End Property
and so the application created does not work and it returns the error
"System.MissingMethodException: Method not found: Void
LEATESTNamespace.cLEADataEntity.set_name(System.St ring)."
Regards,
MikeG
"Naveen" wrote:
Hi Mike..
What error you are getting ? There is an excellent example on MSDN which
helps you for this...
http://msdn.microsoft.com/library/de...ClassTopic.asp
HTH
With Best Regards
Naveen K S
"MikeG" wrote:
Attempting to add a property to a class using
CodePropertySetValueReferenceExpression to add the set statement does
not add (byval value as <type>) so using te property fails. Any ideas?
MikeG