Making "ValueLabels" property of VarMetaDataBase public?

Sep 12, 2008 at 10:04 PM
Hello Arnott,

I changed the ValueLabels property of the VarMetaDataBase class, making it public and adding a set:

    /// <summary>
        /// The value labels on the variable.
        /// </summary>
        public NameValueCollection ValueLabels
        {
            get
            {
                return valueLabels;
            }
            set
            {
                valueLabels = value;
            }
        }


Thus I was able to add variable value labels by assigning to the NameValueCollection, not hitherto offered by the class. Should I have gone a different way about this, do you think - or would you consider making it public, thus allowing access to the value labels?

This wrapper is great, lest I forget mention - if all goes well I'll be able to distribute my product, by which time I'll ensure (I'm into karma) there's a donation coming your way(!).
Best,

Morten