CustomProviderDataAttribute.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
)
public CustomProviderDataAttribute (
	String customProviderData
)
public function CustomProviderDataAttribute (
	customProviderData : String
)
Not applicable.

Parameters

customProviderData

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 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: