共用方式為


ShapeElement.FindShapeField Method (String)

Searches for a shape field in a shape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Function FindShapeField ( _
    fieldName As String _
) As ShapeField
public ShapeField FindShapeField(
    string fieldName
)
public:
ShapeField^ FindShapeField(
    String^ fieldName
)
member FindShapeField : 
        fieldName:string -> ShapeField
public function FindShapeField(
    fieldName : String
) : ShapeField

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
The first shape field that has the specified name; otherwise, null, if no shape field is found.

.NET Framework Security

See Also

Reference

ShapeElement Class

FindShapeField Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace