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
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation (Espacio de nombres)