Microsoft.Web.Administration.ConfigurationElement.GetCollection C# (CSharp) Method

GetCollection() public method

public GetCollection ( Type collectionType ) : ConfigurationElement
collectionType System.Type
return ConfigurationElement
        public ConfigurationElement GetCollection(Type collectionType)
        {
            throw new NotImplementedException();
        }

Same methods

ConfigurationElement::GetCollection ( string collectionName, Type collectionType ) : ConfigurationElement
ConfigurationElement::GetCollection ( ) : ConfigurationElementCollection
ConfigurationElement::GetCollection ( string collectionName ) : ConfigurationElementCollection

Usage Example

Example #1
0
        internal SiteCollection(ConfigurationElement element, ServerManager parent)
            : base(element, "sites", parent.SiteCollection?.Schema, null, parent.SiteCollection?.InnerEntity, null)
        {
            Parent  = parent;
            Section = element?.Section;
            if (element == null)
            {
                return;
            }

            foreach (ConfigurationElement node in element.GetCollection())
            {
                if (Schema.CollectionSchema.ContainsAddElement(node.ElementTagName))
                {
                    InternalAdd(new Site(node, this));
                }
            }
        }
All Usage Examples Of Microsoft.Web.Administration.ConfigurationElement::GetCollection