ProfileAttribute 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 ProfileAttribute 类的新实例。
重载
| 名称 | 说明 |
|---|---|
| ProfileAttribute() |
初始化 ProfileAttribute 类的新实例。 |
| ProfileAttribute(String) |
使用配置文件键初始化类的新实例 ProfileAttribute 。 |
注解
有关将模型绑定与 Web 窗体配合使用的教程系列,请参阅 模型绑定和 Web 窗体。
ProfileAttribute()
初始化 ProfileAttribute 类的新实例。
public:
ProfileAttribute();
public ProfileAttribute();
Public Sub New ()
注解
有关将模型绑定与 Web 窗体配合使用的教程系列,请参阅 模型绑定和 Web 窗体。
适用于
ProfileAttribute(String)
使用配置文件键初始化类的新实例 ProfileAttribute 。
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)
参数
- key
- String
键。
注解
有关将模型绑定与 Web 窗体配合使用的教程系列,请参阅 模型绑定和 Web 窗体。