CustomProviderDataAttribute(String) Constructor
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.
Creates a new instance of the CustomProviderDataAttribute class and specifies a string of custom data.
public:
CustomProviderDataAttribute(System::String ^ customProviderData);
public CustomProviderDataAttribute (string customProviderData);
new System.Web.Profile.CustomProviderDataAttribute : string -> System.Web.Profile.CustomProviderDataAttribute
Public Sub New (customProviderData As String)
Parameters
- customProviderData
- String
The string of custom data to supply to the provider.
Remarks
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.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈