Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Sets the DiagramItem to represent the specified ShapeField.
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 SetItem ( _
shape As ShapeElement, _
field As ShapeField _
)
public void SetItem(
ShapeElement shape,
ShapeField field
)
public:
void SetItem(
ShapeElement^ shape,
ShapeField^ field
)
member SetItem :
shape:ShapeElement *
field:ShapeField -> unit
public function SetItem(
shape : ShapeElement,
field : ShapeField
)
Parameters
shape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe parent ShapeElement of the ShapeField. This cannot be null.
field
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeFieldThe ShapeField that this DiagramItem is to represent.
.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.