ShapeElement.CreateDecorators Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Instantiates the collection of decorators for this type of shape.
protected:
System::Collections::Generic::List<Microsoft::VisualStudio::Modeling::Diagrams::Decorator ^> ^ CreateDecorators();
protected System.Collections.Generic.List<Microsoft.VisualStudio.Modeling.Diagrams.Decorator> CreateDecorators ();
member this.CreateDecorators : unit -> System.Collections.Generic.List<Microsoft.VisualStudio.Modeling.Diagrams.Decorator>
Protected Function CreateDecorators () As List(Of Decorator)
Returns
Remarks
This method calls InitializeDecorators() after instantiating an empty decorator collection.
Like shape fields, decorators are instantiated per-type, not per-instance.