Udostępnij za pośrednictwem


Metoda ShapeElement.FindDecorator — (String)

Wyszukuje dekorator kształtu o danej nazwie.

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling.Diagrams
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (w Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Składnia

'Deklaracja
Public Function FindDecorator ( _
    decoratorName As String _
) As Decorator
public Decorator FindDecorator(
    string decoratorName
)

Parametry

Wartość zwracana

Typ: Microsoft.VisualStudio.Modeling.Diagrams.Decorator
Ozdobna kształtu.

Przykłady

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

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ShapeElement Klasa

Przeciążenie FindDecorator

Przestrzeń nazw Microsoft.VisualStudio.Modeling.Diagrams