Compartilhar via


ShapeElement.CreateDecorators Method

Definition

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.

Applies to