Compartir a través de


IDiagram.SelectedShapes (Propiedad)

Colección de formas seleccionadas actualmente.Si no hay ninguna forma individual seleccionada, la colección contendrá el diagrama como único miembro.Si otras formas están seleccionadas, el diagrama no aparecerá en la colección.

Espacio de nombres:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation
Ensamblado:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (en Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Sintaxis

'Declaración
ReadOnly Property SelectedShapes As IEnumerable(Of IShape)
IEnumerable<IShape> SelectedShapes { get; }
property IEnumerable<IShape^>^ SelectedShapes {
    IEnumerable<IShape^>^ get ();
}
abstract SelectedShapes : IEnumerable<IShape>
function get SelectedShapes () : IEnumerable<IShape>

Valor de propiedad

Tipo: System.Collections.Generic.IEnumerable<IShape>

Comentarios

Para obtener una colección de formas filtradas a fin de incluir solo aquellas de tipos concretos y excluir el diagrama, use GetSelectedShapes().

Seguridad de .NET Framework

Vea también

Referencia

IDiagram Interfaz

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation (Espacio de nombres)