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)

public:
static Decorator^ FindDecorator(
	IList<Decorator^>^ decorators,
	String^ decoratorName
)

Parameters

decorators
Type: System.Collections.Generic::IList<Decorator^>^

The list of decorators to search.

decoratorName
Type: System::String^

The name of the decorator.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams::Decorator^

The shape decorator.

Return to top
Show: