PropertyTabAttribute.InitializeArrays Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menginisialisasi atribut.
Overload
| Nama | Deskripsi |
|---|---|
| InitializeArrays(String[], PropertyTabScope[]) |
Menginisialisasi atribut menggunakan nama kelas tab dan array cakupan tab yang ditentukan. |
| InitializeArrays(Type[], PropertyTabScope[]) |
Menginisialisasi atribut menggunakan nama kelas tab dan array cakupan tab yang ditentukan. |
InitializeArrays(String[], PropertyTabScope[])
- Sumber:
- PropertyTabAttribute.cs
- Sumber:
- PropertyTabAttribute.cs
- Sumber:
- PropertyTabAttribute.cs
- Sumber:
- PropertyTabAttribute.cs
- Sumber:
- PropertyTabAttribute.cs
Menginisialisasi atribut menggunakan nama kelas tab dan array cakupan tab yang ditentukan.
protected:
void InitializeArrays(cli::array <System::String ^> ^ tabClassNames, cli::array <System::ComponentModel::PropertyTabScope> ^ tabScopes);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The Types referenced by tabClassNames may be trimmed.")]
protected void InitializeArrays(string[]? tabClassNames, System.ComponentModel.PropertyTabScope[]? tabScopes);
protected void InitializeArrays(string[] tabClassNames, System.ComponentModel.PropertyTabScope[] tabScopes);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The Types referenced by tabClassNames may be trimmed.")>]
member this.InitializeArrays : string[] * System.ComponentModel.PropertyTabScope[] -> unit
member this.InitializeArrays : string[] * System.ComponentModel.PropertyTabScope[] -> unit
Protected Sub InitializeArrays (tabClassNames As String(), tabScopes As PropertyTabScope())
Parameter
- tabClassNames
- String[]
Array dari nama jenis jenis yang sepenuhnya memenuhi syarat untuk dibuat untuk tab pada Properties window.
- tabScopes
- PropertyTabScope[]
Cakupan setiap tab. Jika cakupannya adalah Component, cakupan hanya ditampilkan untuk komponen dengan PropertyTabAttribute. Jika adalah Document, itu ditampilkan untuk semua komponen pada dokumen.
- Atribut
Pengecualian
Satu atau beberapa nilai di tabScopes bukan Document atau Component.
-atau-
Panjang tabClassNames array dan tabScopes tidak cocok.
-atau-
tabClassNames atau tabScopes adalah null.
Keterangan
InitializeArrays menyediakan fungsi utilitas yang dapat digunakan untuk mengatur jenis kelas tab yang ditentukan ini PropertyTabAttribute .
Berlaku untuk
InitializeArrays(Type[], PropertyTabScope[])
- Sumber:
- PropertyTabAttribute.cs
- Sumber:
- PropertyTabAttribute.cs
- Sumber:
- PropertyTabAttribute.cs
- Sumber:
- PropertyTabAttribute.cs
- Sumber:
- PropertyTabAttribute.cs
Menginisialisasi atribut menggunakan nama kelas tab dan array cakupan tab yang ditentukan.
protected:
void InitializeArrays(cli::array <Type ^> ^ tabClasses, cli::array <System::ComponentModel::PropertyTabScope> ^ tabScopes);
protected void InitializeArrays(Type[]? tabClasses, System.ComponentModel.PropertyTabScope[]? tabScopes);
protected void InitializeArrays(Type[] tabClasses, System.ComponentModel.PropertyTabScope[] tabScopes);
member this.InitializeArrays : Type[] * System.ComponentModel.PropertyTabScope[] -> unit
Protected Sub InitializeArrays (tabClasses As Type(), tabScopes As PropertyTabScope())
Parameter
- tabClasses
- Type[]
Jenis tab yang akan dibuat.
- tabScopes
- PropertyTabScope[]
Cakupan setiap tab. Jika cakupannya adalah Component, cakupan hanya ditampilkan untuk komponen dengan PropertyTabAttribute. Jika adalah Document, itu ditampilkan untuk semua komponen pada dokumen.
Pengecualian
Satu atau beberapa nilai di tabScopes bukan Document atau Component.
-atau-
Panjang tabClasses array dan tabScopes tidak cocok.
-atau-
tabClasses atau tabScopes adalah null.
Keterangan
InitializeArrays menyediakan fungsi utilitas yang dapat digunakan untuk mengatur jenis kelas tab yang ditentukan ini PropertyTabAttribute .