ProfileParameter Konstruktorok
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Inicializálja a ProfileParameter osztály új példányát.
Túlterhelések
| Név | Description |
|---|---|
| ProfileParameter() |
Inicializálja a ProfileParameter osztály új példányát. |
| ProfileParameter(ProfileParameter) |
Inicializálja az ProfileParameter osztály új példányát a paraméter által |
| ProfileParameter(String, String) |
Inicializálja a ProfileParameter osztály új nevesített példányát a megadott tulajdonságnévvel annak megállapításához, hogy melyik ASP.NET Profil tulajdonsághoz kell csatlakozni. |
| ProfileParameter(String, DbType, String) |
Inicializálja a ProfileParameter osztály új példányát a megadott tulajdonságnévvel annak megállapításához, hogy melyik ASP.NET Profil tulajdonsághoz kell csatlakozni. |
| ProfileParameter(String, TypeCode, String) |
Inicializálja a ProfileParameter osztály új elnevezett és erősen gépelt példányát a megadott tulajdonságnévvel annak megállapításához, hogy melyik ASP.NET Profil tulajdonsághoz kell csatlakozni. |
ProfileParameter()
Inicializálja a ProfileParameter osztály új példányát.
public:
ProfileParameter();
public ProfileParameter();
Public Sub New ()
Megjegyzések
A ProfileParameter konstruktorral ProfileParameter létrehozott objektumok inicializálása az összes tulajdonság alapértelmezett értékével történik. A PropertyName tulajdonságok inicializálása a következőre van inicializálva String.Empty: . Emellett a Name tulajdonság inicializálva van String.Empty, a Type tulajdonság inicializálása TypeCode.Object, a Direction tulajdonság inicializálása Input, a DefaultValue tulajdonság pedig null értékűre van inicializálva (Nothing Visual Basic).
A következőre érvényes:
ProfileParameter(ProfileParameter)
Inicializálja az ProfileParameter osztály új példányát a paraméter által original megadott példány értékeivel.
protected:
ProfileParameter(System::Web::UI::WebControls::ProfileParameter ^ original);
protected ProfileParameter(System.Web.UI.WebControls.ProfileParameter original);
new System.Web.UI.WebControls.ProfileParameter : System.Web.UI.WebControls.ProfileParameter -> System.Web.UI.WebControls.ProfileParameter
Protected Sub New (original As ProfileParameter)
Paraméterek
- original
- ProfileParameter
Egy ProfileParameter példány, amelyből az aktuális példány inicializálva van.
Megjegyzések
A ProfileParameter konstruktor egy protected példány klónozására ProfileParameter használt másolatkonstruktor. A rendszer az új példányra átviszi az ProfileParameterértékeket , beleértve a elemet isPropertyNameNameType.
Lásd még
A következőre érvényes:
ProfileParameter(String, String)
Inicializálja a ProfileParameter osztály új nevesített példányát a megadott tulajdonságnévvel annak megállapításához, hogy melyik ASP.NET Profil tulajdonsághoz kell csatlakozni.
public:
ProfileParameter(System::String ^ name, System::String ^ propertyName);
public ProfileParameter(string name, string propertyName);
new System.Web.UI.WebControls.ProfileParameter : string * string -> System.Web.UI.WebControls.ProfileParameter
Public Sub New (name As String, propertyName As String)
Paraméterek
- name
- String
A paraméter neve.
- propertyName
- String
Annak a ASP.NET profiltulajdonságnak a neve, amelyhez a paraméterobjektum hozzá van kötve. Az alapértelmezett érték a Empty.
Megjegyzések
A ProfileParameter konstruktorral létrehozott ProfileParameter objektum inicializálva van a megadott paraméternévvel és PropertyName, amely azonosítja a paraméter által kötött ASP.NET Profil tulajdonságot. Egyéb tulajdonságok, például Typea , Directionés ConvertEmptyStringToNull az alapértelmezett értékekkel vannak inicializálva.
Lásd még
A következőre érvényes:
ProfileParameter(String, DbType, String)
Inicializálja a ProfileParameter osztály új példányát a megadott tulajdonságnévvel annak megállapításához, hogy melyik ASP.NET Profil tulajdonsághoz kell csatlakozni.
public:
ProfileParameter(System::String ^ name, System::Data::DbType dbType, System::String ^ propertyName);
public ProfileParameter(string name, System.Data.DbType dbType, string propertyName);
new System.Web.UI.WebControls.ProfileParameter : string * System.Data.DbType * string -> System.Web.UI.WebControls.ProfileParameter
Public Sub New (name As String, dbType As DbType, propertyName As String)
Paraméterek
- name
- String
A paraméter neve.
- dbType
- DbType
A paraméter által képviselt adatbázistípus.
- propertyName
- String
Annak a ASP.NET profiltulajdonságnak a neve, amelyhez a paraméterobjektum hozzá van kötve.
A következőre érvényes:
ProfileParameter(String, TypeCode, String)
Inicializálja a ProfileParameter osztály új elnevezett és erősen gépelt példányát a megadott tulajdonságnévvel annak megállapításához, hogy melyik ASP.NET Profil tulajdonsághoz kell csatlakozni.
public:
ProfileParameter(System::String ^ name, TypeCode type, System::String ^ propertyName);
public ProfileParameter(string name, TypeCode type, string propertyName);
new System.Web.UI.WebControls.ProfileParameter : string * TypeCode * string -> System.Web.UI.WebControls.ProfileParameter
Public Sub New (name As String, type As TypeCode, propertyName As String)
Paraméterek
- name
- String
A paraméter neve.
- propertyName
- String
Annak a ASP.NET profiltulajdonságnak a neve, amelyhez a paraméterobjektum hozzá van kötve. Az alapértelmezett érték a Empty.
Megjegyzések
A ProfileParameter konstruktorral ProfileParameter létrehozott objektum inicializálva lesz a megadott paraméternévvel és TypePropertyName. A rendszer csak az alapértelmezett értékekkel inicializálja a DirectionConvertEmptyStringToNull tulajdonságokat és a tulajdonságokat.