Click here to Skip to main content
11,635,142 members (74,680 online)
Rate this: bad
good
Please Sign up or sign in to vote.
How to define an abstract property in UML class diagram design of Visual Studio 2012?
Posted 9-Oct-12 20:31pm
Edited 9-Oct-12 20:37pm
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

I think that it's not possible to define an abstract property in UML class diagram of VS 2012. Instead of it, you must add an interface that's contains the property and all favorite classes implement it.
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

hi
try this


if u consider the below as class diagram in UML using Rational Rose Software
-----------------------------------
|           <<abstract>>          |
|             MyClass             |
-----------------------------------
|<<property>> + a : int           |
|<<property>> + b : string        |
-----------------------------------
|<<abstract>> # Job() : void      |
|<<abstract>> # Job2() : string   |
|- SomeNonAbstractMethod() : void |
-----------------------------------
the Abstract Property will be specified as above
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 8,736
1 Sergey Alexandrovich Kryukov 8,419
2 Mika Wendelius 6,845
3 F-ES Sitecore 2,354
4 Suvendu Shekhar Giri 2,205


Advertise | Privacy | Mobile
Web01 | 2.8.150728.1 | Last Updated 11 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100