ListItemSubField.EditValue Method (ShapeElement, ShapeField, 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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Sub EditValue ( _
parentShape As ShapeElement, _
parentField As ShapeField, _
view As DiagramClientView, _
replacementText As String _
)
public void EditValue(
ShapeElement parentShape,
ShapeField parentField,
DiagramClientView view,
string replacementText
)
public:
void EditValue(
ShapeElement^ parentShape,
ShapeField^ parentField,
DiagramClientView^ view,
String^ replacementText
)
member EditValue :
parentShape:ShapeElement *
parentField:ShapeField *
view:DiagramClientView *
replacementText:string -> unit
public function EditValue(
parentShape : ShapeElement,
parentField : ShapeField,
view : DiagramClientView,
replacementText : String
)
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The ShapeElement instance that contains this subfield.
- parentField
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
The parent ShapeField of this ShapeSubField.
- view
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The view that will host the editor.
- replacementText
Type: System.String
The text that should replace the contents of the editor.
.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.