Condividi tramite


DiagramItem.SetItem Method (ShapeElement, ShapeField, ShapeSubField)

Sets the DiagramItem to represent the specified ShapeSubField.

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

Syntax

'Dichiarazione
Public Sub SetItem ( _
    shape As ShapeElement, _
    field As ShapeField, _
    subfield As ShapeSubField _
)
public void SetItem(
    ShapeElement shape,
    ShapeField field,
    ShapeSubField subfield
)
public:
void SetItem(
    ShapeElement^ shape, 
    ShapeField^ field, 
    ShapeSubField^ subfield
)
member SetItem : 
        shape:ShapeElement * 
        field:ShapeField * 
        subfield:ShapeSubField -> unit 
public function SetItem(
    shape : ShapeElement, 
    field : ShapeField, 
    subfield : ShapeSubField
)

Parameters

.NET Framework Security

See Also

Reference

DiagramItem Class

SetItem Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace