ShapeElement::FindDecorator Method (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:
Decorator^ FindDecorator(
	String^ decoratorName
)

Parameters

decoratorName
Type: System::String^

The name of the decorator.

Return Value

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

The shape decorator.

public static DslDiagrams::Decorator FindCommentConnectorDecorator(string decoratorName)
{
if(decorators == null) return null;
return DslDiagrams::ShapeElement.FindDecorator(decorators, decoratorName);
}
Return to top
Show: