ChartSheet.ProtectSelection (Propiedad)
Obtiene o establece un valor que indica si no se pueden seleccionar elementos del objeto Microsoft.Office.Tools.Excel.ChartSheet.
Espacio de nombres: Microsoft.Office.Tools.Excel
Ensamblados: Microsoft.Office.Tools.Excel.v4.0.Utilities (en Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
Microsoft.Office.Tools.Excel (en Microsoft.Office.Tools.Excel.dll)
Sintaxis
'Declaración
Property ProtectSelection As Boolean
bool ProtectSelection { get; set; }
Valor de propiedad
Tipo: System.Boolean
true si no se pueden seleccionar elementos del objeto Microsoft.Office.Tools.Excel.ChartSheet.
Comentarios
Cuando esta propiedad está establecida en true, no se puede agregar formas al objeto Microsoft.Office.Tools.Excel.ChartSheet.
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.