Discussion:
Class Designer
(too old to reply)
Cypher Drive
2008-09-08 08:01:13 UTC
Permalink
Dear Sir/ Madam,

I'm currently using a class designer.
Where shall I put the getter and setter return value? I can't seem to find
it in VB.NET 2005 Class Designer?
Cypher Drive
2008-09-13 00:26:38 UTC
Permalink
Dear Guru,

Sorry for not posting a clear question. :>(

I created a new Class Diagram
Under the class designer toolbox I created a new class
I added a new property
I replaced the type from integer to string
I viewed the generated code and found out that there was no return value.


Public Class Class2
Public Property Property1(ByVal propertyreturnvalue As String) As String

Get

End Get '<--------- This line generates a NULL Exception Code

Set(ByVal value As String)

End Set

End Property

End Class


My question is:

Using the Class Diagram, Is there a way to add the return value for the
getter and setter.
I want the Code to be generated also by the Class Designer.
I can't seem to find it on the Class Details.
Post by Cypher Drive
Dear Sir/ Madam,
I'm currently using a class designer.
Where shall I put the getter and setter return value? I can't seem to find
it in VB.NET 2005 Class Designer?
Loading...