DiagramElementHasDecorators.GetDecorators Method
Gets a list of Decorators.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Dichiarazione
Public Shared Function GetDecorators ( _
element As DiagramElement _
) As ReadOnlyLinkedElementCollection(Of Decorator)
public static ReadOnlyLinkedElementCollection<Decorator> GetDecorators(
DiagramElement element
)
public:
static ReadOnlyLinkedElementCollection<Decorator^>^ GetDecorators(
DiagramElement^ element
)
static member GetDecorators :
element:DiagramElement -> ReadOnlyLinkedElementCollection<Decorator>
public static function GetDecorators(
element : DiagramElement
) : ReadOnlyLinkedElementCollection<Decorator>
Parameters
Return Value
Type: Microsoft.VisualStudio.Modeling.ReadOnlyLinkedElementCollection<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.