Microsoft.Web.Administration.ConfigurationCollectionSchema.GetAddElementSchema C# (CSharp) Method

GetAddElementSchema() public method

public GetAddElementSchema ( string elementName ) : ConfigurationElementSchema
elementName string
return ConfigurationElementSchema
        public ConfigurationElementSchema GetAddElementSchema(string elementName)
        {
            return (from name in _addNames
                    where elementName == name
                    select AddSchemas.First(item => item.Path.EndsWith(name, System.StringComparison.Ordinal))).FirstOrDefault();
        }