Delen via


ShapeElement.FindDecorator Method (IList<Decorator>, String)

Finds the shape decorator that has a given name.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Shared Function FindDecorator ( _
    decorators As IList(Of Decorator), _
    decoratorName As String _
) As Decorator
public static Decorator FindDecorator(
    IList<Decorator> decorators,
    string decoratorName
)
public:
static Decorator^ FindDecorator(
    IList<Decorator^>^ decorators, 
    String^ decoratorName
)
static member FindDecorator : 
        decorators:IList<Decorator> * 
        decoratorName:string -> Decorator
public static function FindDecorator(
    decorators : IList<Decorator>, 
    decoratorName : String
) : Decorator

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.Decorator
The shape decorator.

.NET Framework Security

See Also

Reference

ShapeElement Class

FindDecorator Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace