Redigera

Dela via


ProfileAttribute Constructors

Definition

Initializes a new instance of the ProfileAttribute class.

Overloads

ProfileAttribute()

Initializes a new instance of the ProfileAttribute class.

ProfileAttribute(String)

Initializes a new instance of the ProfileAttribute class, using the profile key.

Remarks

For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.

ProfileAttribute()

Initializes a new instance of the ProfileAttribute class.

public:
 ProfileAttribute();
public ProfileAttribute ();
Public Sub New ()

Remarks

For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.

Applies to

ProfileAttribute(String)

Initializes a new instance of the ProfileAttribute class, using the profile key.

public:
 ProfileAttribute(System::String ^ key);
public ProfileAttribute (string key);
new System.Web.ModelBinding.ProfileAttribute : string -> System.Web.ModelBinding.ProfileAttribute
Public Sub New (key As String)

Parameters

key
String

The key.

Remarks

For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.

Applies to