Share via


ProviderFeature.ProviderBaseType Property

Definition

When overridden in a derived class, gets the type of provider.

public:
 abstract property System::String ^ ProviderBaseType { System::String ^ get(); };
public abstract string ProviderBaseType { get; }
member this.ProviderBaseType : string
Public MustOverride ReadOnly Property ProviderBaseType As String

Property Value

The fully qualified provider type.

Examples

The following example sets the provider base type. This code example is part of a larger example provided for the ProviderFeature class.

// The site map provider base type. The provider that is
// configured will derive from this base type.
public override string  ProviderBaseType
{
    get { return "System.Web.SiteMapProvider"; }
}

Remarks

When you define a provider, you must define the type attribute by getting the value of the ProviderBaseType property. The property value is a string that specifies the fully qualified provider type (for example, "System.Web.Security.SiteMapProvider"). The provider that is being configured will derive from this base type. The ProviderBaseType property value is maintained as the type attribute in the Web.config file (located in the .NET Framework version 2.0 folder).

Applies to