ShapeHasDecorators.GetLinksToDecorators Method
Get the list of ShapeHasDecorators links to a Shape.
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 GetLinksToDecorators ( _
shapeInstance As Shape _
) As ReadOnlyCollection(Of ShapeHasDecorators)
public static ReadOnlyCollection<ShapeHasDecorators> GetLinksToDecorators(
Shape shapeInstance
)
public:
static ReadOnlyCollection<ShapeHasDecorators^>^ GetLinksToDecorators(
Shape^ shapeInstance
)
static member GetLinksToDecorators :
shapeInstance:Shape -> ReadOnlyCollection<ShapeHasDecorators>
public static function GetLinksToDecorators(
shapeInstance : Shape
) : ReadOnlyCollection<ShapeHasDecorators>
Parameters
- shapeInstance
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Shape
Return Value
Type: ReadOnlyCollection<ShapeHasDecorators>
.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.