简体   繁体   中英

How can I create properties in Visual studio 2010 ultimate modeling project?

I want to create properties in class. Where can I create them in attributes or operations?

I want to create get only property like

 string MyString { get; }

该图显示了班级

Thanks, Omkar

attributes == properties

operations == methods

For a read only property select the clas diagram and, in the properties window, change "Is Read Only" to true.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM