共用方式為


ShapeElement.FindDecorator Method

Definition

Overloads

FindDecorator(String)

Finds the Decorator with the given name.

FindDecorator(IList<Decorator>, String)

FindDecorator(String)

Finds the Decorator with the given name.

public:
 Microsoft::VisualStudio::Modeling::Diagrams::Decorator ^ FindDecorator(System::String ^ decoratorName);
public Microsoft.VisualStudio.Modeling.Diagrams.Decorator FindDecorator (string decoratorName);
member this.FindDecorator : string -> Microsoft.VisualStudio.Modeling.Diagrams.Decorator
Public Function FindDecorator (decoratorName As String) As Decorator

Parameters

decoratorName
String

Returns

Applies to

FindDecorator(IList<Decorator>, String)

public:
 static Microsoft::VisualStudio::Modeling::Diagrams::Decorator ^ FindDecorator(System::Collections::Generic::IList<Microsoft::VisualStudio::Modeling::Diagrams::Decorator ^> ^ decorators, System::String ^ decoratorName);
public static Microsoft.VisualStudio.Modeling.Diagrams.Decorator FindDecorator (System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.Diagrams.Decorator> decorators, string decoratorName);
static member FindDecorator : System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.Diagrams.Decorator> * string -> Microsoft.VisualStudio.Modeling.Diagrams.Decorator
Public Shared Function FindDecorator (decorators As IList(Of Decorator), decoratorName As String) As Decorator

Parameters

decorators
IList<Decorator>
decoratorName
String

Returns

Applies to