Hi, I am getting this error when building my project. Any ideas? thanks
Error6Inconsistent accessibility: property type 'FTV.Intranet.Controls.HomePage.WPAlaUne._defilMode' is less accessible than property 'FTV.Intranet.Controls.HomePage.WPAlaUne.Defilement_Mode'C:\projects\ftv\FTV.Intranet\Controls\HomePage\WPActuHome.cs4327FTV.Intranet[ToolboxItemAttribute(false)] publicclassWPAlaUne : Microsoft.SharePoint.WebPartPages.WebPart { #region "Variables" privateenum_defilType { Automatique, Manuel }; privateenum_defilMode { Fondu, Glissé }; privateint _DefilementMode; privateint _DefilementType; privateint _DefilementDuree; privatestring _listName = null; #endregion #region "Properties" [Category("Paramètres personnalisés [rendu]")] [WebPartStorage(Storage.Shared)] [WebDisplayName("Mode")] [WebDescription("Mode de rendu")] // Fondu [1] ou glissé [2] [WebBrowsable] [Personalizable(PersonalizationScope.Shared)] [DefaultValue(_defilMode.Fondu)] public_defilMode Defilement_Mode { get; set; } [Category("Paramètres personnalisés [rendu]")] [WebPartStorage(Storage.Shared)] [WebDisplayName("Type")] [WebDescription("Type de défilement")] // Automatique [1] ou manuel [2] [WebBrowsable] [Personalizable(PersonalizationScope.Shared)] [DefaultValue(_defilType.Automatique)] public_defilType Defilement_Type { get; set; }
↧
Inconsistent accessibility
↧