ShapeElement.FindShapeField Method (String)

Searches for a shape field in a shape.

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

Syntax

'宣言
Public Function FindShapeField ( _
    fieldName As String _
) As ShapeField
'使用
Dim instance As ShapeElement
Dim fieldName As String
Dim returnValue As ShapeField

returnValue = instance.FindShapeField(fieldName)
public ShapeField FindShapeField(
    string fieldName
)
public:
ShapeField^ FindShapeField(
    String^ fieldName
)
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, a null reference (Nothing in Visual Basic), if no shape field is found.

Permissions

See Also

Reference

ShapeElement Class

ShapeElement Members

FindShapeField Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace