Initializes the list of fields that represent parts of the shape such as labels, icons, rows of text, and background images. Called once per class.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
To add or modify the shape fields for this shape class, you can override this method. You must set the Generates Double Derived property of the shape class in the DSL Definition.
This method is called once to initialize the class. It is not called for each instance.
For an example, see ImageField.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.