Alberto,
In .NET, this is not an attribute, but rather, a field. Attribute has a
specific meaning in .NET, different from how you are presenting it here.
Chances are that it is not being exposed in UML because it is private.
It doesn't affect the public interface of A, which is why it doesn't show
up. Expose it as public (either change the field to public, or expose a
public property which returns the value), and it should show up.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Alberto" <al*****@nospam.eswrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
>I have 2 classes, A and B. In the A class, I've created an attribute of
type B(): private b = new B();
In other words, I have an association from A to B.
The problem occurs when I export the project to Visio-UML because doesn't
export the association.
Does anybody know why?
Thank you very much.