ShapeElement.FindShapeField Method (String)
Searches for a shape field in a shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
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
- fieldName
Type: System.String
The name of the shape field.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.