Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines if the current selection is a diagram
Namespace: Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Function IsDiagramSelected As Boolean
bool IsDiagramSelected()
bool IsDiagramSelected()
abstract IsDiagramSelected : unit -> bool
function IsDiagramSelected() : boolean
Return Value
Type: System.Boolean
true: If current selection is a diagram. false: If nothing is selected or if selected element is not a diagram
.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.
See Also
Reference
Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement Namespace