Freigeben über


ShapeElement.FindShapeField Method

Definition

Overloads

FindShapeField(String)

Returns the first ShapeField with the given name in the ShapeFields collection. If a field with the given name is not found, this method returns null.

FindShapeField(IList<ShapeField>, String)

FindShapeField(String)

Returns the first ShapeField with the given name in the ShapeFields collection. If a field with the given name is not found, this method returns null.

public:
 Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ FindShapeField(System::String ^ fieldName);
public Microsoft.VisualStudio.Modeling.Diagrams.ShapeField FindShapeField (string fieldName);
member this.FindShapeField : string -> Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
Public Function FindShapeField (fieldName As String) As ShapeField

Parameters

fieldName
String

Identifier for the field to return.

Returns

Applies to

FindShapeField(IList<ShapeField>, String)

public:
 static Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ FindShapeField(System::Collections::Generic::IList<Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^> ^ shapeFields, System::String ^ fieldName);
public static Microsoft.VisualStudio.Modeling.Diagrams.ShapeField FindShapeField (System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.Diagrams.ShapeField> shapeFields, string fieldName);
static member FindShapeField : System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.Diagrams.ShapeField> * string -> Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
Public Shared Function FindShapeField (shapeFields As IList(Of ShapeField), fieldName As String) As ShapeField

Parameters

shapeFields
IList<ShapeField>
fieldName
String

Returns

Applies to