ข้ามไปที่เนื้อหาหลัก
การสนับสนุน
ลงชื่อเข้าใช้
ลงชื่อเข้าใช้ด้วย Microsoft
ลงชื่อเข้าใช้หรือสร้างบัญชี
สวัสดี
เลือกบัญชีอื่น
คุณมีหลายบัญชี
เลือกบัญชีที่คุณต้องการลงชื่อเข้าใช้
อังกฤษ
ขออภัย บทความนี้ไม่พร้อมใช้งานในภาษาของคุณ

Important: The UML static structure diagram is not available in Visio 2013 and newer versions. For information on UML diagrams in Visio 2013 and newer versions, see UML diagrams in Visio.

Add a discriminator label to a generalization

  1. In a static structure diagram, double-click the Generalization shape you want to add a discriminator to.

  2. In the UML Generalization Properties dialog box, for Discriminator, type the name of the discriminator you want, and then click OK.

Indicate a generalization relationship between UML elements

  1. Drag a Generalization shape from the UML Static Structure stencil onto the drawing page near the classes or packages you want to relate.

  2. Glue the endpoint near the arrowhead to a connection point Connection point image - blue Xon the more general element. Glue the endpoint without the arrowhead to a connection point on the more specific element.

  3. Double-click the Generalization shape. In the UML Generalization Properties dialog box, add a name, stereotype, discriminator, and other property values, and then click OK.

Tip

To indicate a generalization for an association, use the Association Class shape rather than the Binary Association shape.

ต้องการความช่วยเหลือเพิ่มเติมหรือไม่

ต้องการตัวเลือกเพิ่มเติมหรือไม่

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

ข้อมูลนี้เป็นประโยชน์หรือไม่

สิ่งที่ส่งผลต่อประสบการณ์ใช้งานของคุณ
เมื่อกดส่ง คำติชมของคุณจะถูกใช้เพื่อปรับปรุงผลิตภัณฑ์และบริการของ Microsoft ผู้ดูแลระบบ IT ของคุณจะสามารถรวบรวมข้อมูลนี้ได้ นโยบายความเป็นส่วนตัว

ขอบคุณสำหรับคำติชมของคุณ!

×