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.
Defers removing a DiagramItem from the selection until ElementEventsEnded is raised. The DeferredAdd, DeferredRemove, DeferredPrimaryItem, and DeferredClear methods define the parameters to use in a single call to set the selection when ElementEventsEnded is raised.
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 DeferredRemove ( _
diagramItem As DiagramItem _
)
public void DeferredRemove(
DiagramItem diagramItem
)
public:
void DeferredRemove(
DiagramItem^ diagramItem
)
member DeferredRemove :
diagramItem:DiagramItem -> unit
public function DeferredRemove(
diagramItem : DiagramItem
)
Parameters
diagramItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemThe DiagramItem to remove from the selection.
Remarks
This method must be called during a transaction since the selection is deferred to ElementEventsEnded.
.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.