This documentation is archived and is not being maintained.

CustomProviderDataAttribute Constructor

Creates a new instance of the CustomProviderDataAttribute class and specifies a string of custom data.

Namespace:  System.Web.Profile
Assembly:  System.Web (in System.Web.dll)

public CustomProviderDataAttribute(
	string customProviderData
)

Parameters

customProviderData
Type: System.String

The string of custom data to supply to the provider.

The CustomProviderDataAttribute class is used to supply a string of data with a profile property to a custom profile provider. The custom data string can be set to any string value and is set using the customProviderData attribute of the add configuration element for adding profile properties. If the customProviderData attribute is set, then the value is placed in the Attributes collection for the property and is indexed by the name "CustomProviderData."

This constructor is used the .NET Framework and is not intended to be called from application code.

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.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Show: