Partager via


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

'Déclaration
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

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

SelectAction Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace