ShapeHasDecorators.GetDecorators Method
Gets a list of Decorators.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
Public Shared Function GetDecorators ( _
element As Shape _
) As LinkedElementCollection(Of Decorator)
public static LinkedElementCollection<Decorator> GetDecorators(
Shape element
)
public:
static LinkedElementCollection<Decorator^>^ GetDecorators(
Shape^ element
)
static member GetDecorators :
element:Shape -> LinkedElementCollection<Decorator>
public static function GetDecorators(
element : Shape
) : LinkedElementCollection<Decorator>
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Shape
Return Value
Type: Microsoft.VisualStudio.Modeling.LinkedElementCollection<Decorator>
.NET Framework Security
- 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.