System.Diagnostics.ListenerElement.OnDeserializeUnrecognizedAttribute C# (CSharp) Method

OnDeserializeUnrecognizedAttribute() protected method

protected OnDeserializeUnrecognizedAttribute ( String name, String value ) : bool
name String
value String
return bool
        protected override bool OnDeserializeUnrecognizedAttribute(String name, String value) {
            ConfigurationProperty _propDynamic = new ConfigurationProperty(name, typeof(string), value);
            _properties.Add(_propDynamic);
            base[_propDynamic] = value; // Add them to the property bag
            Attributes.Add(name, value);
            return true;         
        }