SelectAction.IsDiagramSelectedOnly Method
Gets a value indicating whether the diagram is the only selected item in the selection.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Protected Shared Function IsDiagramSelectedOnly ( _
selection As SelectedShapesCollection _
) As Boolean
protected static bool IsDiagramSelectedOnly(
SelectedShapesCollection selection
)
protected:
static bool IsDiagramSelectedOnly(
SelectedShapesCollection^ selection
)
static member IsDiagramSelectedOnly :
selection:SelectedShapesCollection -> bool
protected static function IsDiagramSelectedOnly(
selection : SelectedShapesCollection
) : boolean
Parameters
selection
Type: Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollectionThe current selection.
Return Value
Type: Boolean
.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.