Partager via


CommandSetLibrary.IsCurrentDiagramEmpty Method

True if the diagram has no children.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Déclaration
Protected Function IsCurrentDiagramEmpty As Boolean
protected bool IsCurrentDiagramEmpty()
protected:
bool IsCurrentDiagramEmpty()
member IsCurrentDiagramEmpty : unit -> bool 
protected function IsCurrentDiagramEmpty() : boolean

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

CommandSetLibrary Class

Microsoft.VisualStudio.Modeling.Shell Namespace