Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Inconsistent accessibility

$
0
0

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 { getset; }        [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 { getset; }

            

Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>