ProviderFeature.ProviderCollectionPropertyName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, gets the name of the provider collection.
public:
abstract property System::String ^ ProviderCollectionPropertyName { System::String ^ get(); };
public abstract string ProviderCollectionPropertyName { get; }
member this.ProviderCollectionPropertyName : string
Public MustOverride ReadOnly Property ProviderCollectionPropertyName As String
Property Value
The name of the provider collection.
Examples
The following example sets the name of the provider collection. This code example is part of a larger example provided for the ProviderFeature class.
// The siteMap providers collection is a collection inside a <providers> tag.
public override string ProviderCollectionPropertyName
{
get { return "providers"; }
}
Remarks
The provider collection (for example "providers") is defined in the Web.config file (located in the .NET Framework version 2.0 folder).