﻿<?xml version="1.0" encoding="utf-8"?><Type Name="SiteMapProviderCollection" FullName="System.Web.SiteMapProviderCollection"><TypeSignature Language="C#" Value="public sealed class SiteMapProviderCollection : System.Configuration.Provider.ProviderCollection" /><AssemblyInfo><AssemblyName>System.Web</AssemblyName><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.Configuration.Provider.ProviderCollection</BaseTypeName></Base><Interfaces /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Web.SiteMapProviderCollection" /> class is a strongly typed <see cref="T:System.Collections.Hashtable" /> collection of <see cref="T:System.Web.SiteMapProvider" /> objects. In addition to the two add methods, <see cref="M:System.Web.SiteMapProviderCollection.Add(System.Configuration.Provider.ProviderBase)" /> and <see cref="M:System.Web.SiteMapProviderCollection.Add(System.Web.SiteMapProvider)" />, the <see cref="T:System.Web.SiteMapProviderCollection" /> class supports the <see cref="M:System.Web.SiteMapProviderCollection.AddArray(System.Web.SiteMapProvider[])" /> method to add an array of type <see cref="T:System.Web.SiteMapProvider" />.</para><para>The <see cref="T:System.Web.SiteMapProviderCollection" /> is used by the <see cref="T:System.Web.SiteMap" /> class to track the set of <see cref="T:System.Web.SiteMapProvider" /> objects that are available to the <see cref="T:System.Web.SiteMap" /> during site map initialization. However, the presence of a <see cref="T:System.Web.SiteMapProvider" /> in the provider collection does not necessarily mean it is used by a <see cref="T:System.Web.SiteMap" /> object, only that it is available for use.</para><para>When a <see cref="T:System.Web.SiteMapProvider" /> is stored in the <see cref="T:System.Web.SiteMapProviderCollection" />, the <see cref="P:System.Configuration.Provider.ProviderBase.Name" /> property is used as the key.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Used by the <see cref="T:System.Web.SiteMap" /> class to track the set of <see cref="T:System.Web.SiteMapProvider" /> objects that are available to the <see cref="T:System.Web.SiteMap" /> during site map initialization. This class cannot be inherited. </para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public SiteMapProviderCollection ();" /><MemberType>Constructor</MemberType><Parameters /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="M:System.Web.SiteMapProviderCollection.#ctor" /> default constructor initializes any fields to their default values</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Web.SiteMapProviderCollection" /> class.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Add"><MemberSignature Language="C#" Value="public override void Add (System.Configuration.Provider.ProviderBase provider);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="provider" Type="System.Configuration.Provider.ProviderBase" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Web.SiteMapProviderCollection" /> object that is returned by the <see cref="P:System.Web.SiteMap.Providers" /> property is read-only. For this reason, you cannot use the <see cref="Overload:System.Web.SiteMapProviderCollection.Add" /> and <see cref="M:System.Web.SiteMapProviderCollection.AddArray(System.Web.SiteMapProvider[])" /> methods to add additional providers programmatically at run time. Therefore, the <see cref="Overload:System.Web.SiteMapProviderCollection.Add" /> and <see cref="M:System.Web.SiteMapProviderCollection.AddArray(System.Web.SiteMapProvider[])" /> methods are used only in scenarios where you manually create site map provider objects and manage them with an instance of the <see cref="T:System.Web.SiteMapProviderCollection" /> class. The <see cref="M:System.Web.SiteMapProviderCollection.Add(System.Configuration.Provider.ProviderBase)" /> method checks the type of the specified provider, and then calls the <see cref="M:System.Web.SiteMapProviderCollection.Add(System.Web.SiteMapProvider)" /> method to add it to the collection.</para><para>Because the <see cref="T:System.Web.SiteMap" /> class is static, any <see cref="T:System.Web.SiteMapProvider" /> contained in its <see cref="P:System.Web.SiteMap.Providers" /> collection remains for the lifetime of the Web application.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Adds a <see cref="T:System.Web.SiteMapProvider" /> to the provider collection using the <see cref="P:System.Configuration.Provider.ProviderBase.Name" /> property as the key.</para></summary><param name="provider"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.SiteMapProvider" /> to add. </param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Add"><MemberSignature Language="C#" Value="public void Add (System.Web.SiteMapProvider provider);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="provider" Type="System.Web.SiteMapProvider" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Web.SiteMapProviderCollection" /> object that is returned by the <see cref="P:System.Web.SiteMap.Providers" /> property is read-only. For this reason, you cannot use the <see cref="Overload:System.Web.SiteMapProviderCollection.Add" /> and <see cref="M:System.Web.SiteMapProviderCollection.AddArray(System.Web.SiteMapProvider[])" /> methods to programmatically add additional providers to the <see cref="T:System.Web.SiteMap" /> at run time. Therefore, the <see cref="Overload:System.Web.SiteMapProviderCollection.Add" /> and <see cref="M:System.Web.SiteMapProviderCollection.AddArray(System.Web.SiteMapProvider[])" /> methods are used only in scenarios where you manually create site map provider objects and manage them with an instance of the <see cref="T:System.Web.SiteMapProviderCollection" /> class. Use the <see cref="M:System.Web.SiteMapProviderCollection.Add(System.Web.SiteMapProvider)" /> method when you want to add a single <see cref="T:System.Web.SiteMapProvider" /> to the <see cref="T:System.Web.SiteMapProviderCollection" />.</para><para>Because the <see cref="T:System.Web.SiteMap" /> class is static, any <see cref="T:System.Web.SiteMapProvider" /> contained in its <see cref="P:System.Web.SiteMap.Providers" /> collection remains for the lifetime of the Web application. </para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Adds a <see cref="T:System.Web.SiteMapProvider" /> object to the provider collection using the <see cref="P:System.Configuration.Provider.ProviderBase.Name" /> property as the key.</para></summary><param name="provider"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.SiteMapProvider" /> to add.</param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="AddArray"><MemberSignature Language="C#" Value="public void AddArray (System.Web.SiteMapProvider[] providerArray);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="providerArray" Type="System.Web.SiteMapProvider[]" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Web.SiteMapProviderCollection" /> that is returned by the <see cref="P:System.Web.SiteMap.Providers" /> property is read-only. For this reason, you cannot use the <see cref="Overload:System.Web.SiteMapProviderCollection.Add" /> and <see cref="M:System.Web.SiteMapProviderCollection.AddArray(System.Web.SiteMapProvider[])" /> methods to add additional providers programmatically at run time. Therefore, the <see cref="Overload:System.Web.SiteMapProviderCollection.Add" /> and <see cref="M:System.Web.SiteMapProviderCollection.AddArray(System.Web.SiteMapProvider[])" /> methods are only used in scenarios where you manually create site map provider objects and manage them with an instance of the <see cref="T:System.Web.SiteMapProviderCollection" /> class.</para><para>Because the <see cref="T:System.Web.SiteMap" /> class is static, any <see cref="T:System.Web.SiteMapProvider" /> contained in its <see cref="P:System.Web.SiteMap.Providers" /> collection remains for the lifetime of the Web application.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Adds an array of <see cref="T:System.Web.SiteMapProvider" /> objects into the provider collection using the <see cref="P:System.Configuration.Provider.ProviderBase.Name" /> properties as keys.</para></summary><param name="providerArray"><attribution license="cc4" from="Microsoft" modified="false" />The array of <see cref="T:System.Web.SiteMapProvider" /> objects to add.</param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Item"><MemberSignature Language="C#" Value="public System.Web.SiteMapProvider this[string name] { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Web.SiteMapProvider</ReturnType></ReturnValue><Parameters><Parameter Name="name" Type="System.String" /></Parameters><Docs><param name="name">To be added.</param><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks><since version=".NET 2.0" /></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member></Members></Type>