Share via


InPlaceTextEditor.EditValue Method (ShapeElement, ShapeField, ShapeSubField, DiagramClientView, String)

Invokes the in-place editor, replacing the text with the specified text.

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

Syntax

'Declaration
Public Sub EditValue ( _
    parentShape As ShapeElement, _
    field As ShapeField, _
    subfield As ShapeSubField, _
    view As DiagramClientView, _
    replacementText As String _
)
public void EditValue(
    ShapeElement parentShape,
    ShapeField field,
    ShapeSubField subfield,
    DiagramClientView view,
    string replacementText
)
public:
void EditValue(
    ShapeElement^ parentShape, 
    ShapeField^ field, 
    ShapeSubField^ subfield, 
    DiagramClientView^ view, 
    String^ replacementText
)
member EditValue : 
        parentShape:ShapeElement * 
        field:ShapeField * 
        subfield:ShapeSubField * 
        view:DiagramClientView * 
        replacementText:string -> unit
public function EditValue(
    parentShape : ShapeElement, 
    field : ShapeField, 
    subfield : ShapeSubField, 
    view : DiagramClientView, 
    replacementText : String
)

Parameters

  • replacementText
    Type: String

    The text that should replace the contents of the editor.

.NET Framework Security

See Also

Reference

InPlaceTextEditor Class

EditValue Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace