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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣言
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.SelectedShapesCollection
The current selection.
Return Value
Type: System.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.