ProfileProviderCollection::Item Property
Returns the profile provider referenced by the specified provider name.
Assembly: System.Web (in System.Web.dll)
public: property ProfileProvider^ Item[String^ name] { ProfileProvider^ get (String^ name); }
Parameters
- name
- Type: System::String
The name of the profile provider.
Property Value
Type: System.Web.Profile::ProfileProviderAn object that inherits the ProfileProvider abstract class.
The profile providers for an application are exposed as a read-only ProfileProviderCollection through the Providers property of the ProfileManager class. You can access a specific profile provider in the collection by name and cast it as the specific provider type, such as SqlProfileProvider. This enables you to manage user profile properties from multiple data stores in a single application. It also allows you to access members of a specific profile provider that are not members of the ProfileProvider abstract class.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.