![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
29/11/2007, 08:14
|
| | Fecha de Ingreso: noviembre-2007
Mensajes: 3
Antigüedad: 17 años, 2 meses Puntos: 0 | |
Problema para ver miembros de enum Agregue un nuevo miembro 'nuevo_miembro' a un enum:
namespace Clases.Entities
{
public enum Servicio : int
{
No_Especificado,
Evaluacion,
Pruebas,
Garantia,
Busqueda,
Busqueda_Y_Seleccion,
nuevo_miembro,
Otro
}
} y no lo puedo ver cuando en otra clase realizo un get:
public Servicio Servicio
{
get { return (Servicio)Enum.Parse(typeof(Servicio), radlServicio.SelectedValue); }
} es decir cuando llamo a esta property me reconoce todos los miembros menos el que agregue.
al compilar me entrega el siguiente error: 'Clases.Entities.Servicio' does not contain a definition for 'nuevo_miembro' |