Share via


PropertyTabAttribute.InitializeArrays Yöntem

Tanım

özniteliğini başlatır.

Aşırı Yüklemeler

InitializeArrays(String[], PropertyTabScope[])

Belirtilen sekme sınıflarının adlarını ve sekme kapsamları dizisini kullanarak özniteliği başlatır.

InitializeArrays(Type[], PropertyTabScope[])

Belirtilen sekme sınıflarının adlarını ve sekme kapsamları dizisini kullanarak özniteliği başlatır.

InitializeArrays(String[], PropertyTabScope[])

Kaynak:
PropertyTabAttribute.cs
Kaynak:
PropertyTabAttribute.cs
Kaynak:
PropertyTabAttribute.cs

Belirtilen sekme sınıflarının adlarını ve sekme kapsamları dizisini kullanarak özniteliği başlatır.

protected:
 void InitializeArrays(cli::array <System::String ^> ^ tabClassNames, cli::array <System::ComponentModel::PropertyTabScope> ^ tabScopes);
protected void InitializeArrays (string[] tabClassNames, System.ComponentModel.PropertyTabScope[] tabScopes);
protected void InitializeArrays (string[]? tabClassNames, System.ComponentModel.PropertyTabScope[]? tabScopes);
member this.InitializeArrays : string[] * System.ComponentModel.PropertyTabScope[] -> unit
Protected Sub InitializeArrays (tabClassNames As String(), tabScopes As PropertyTabScope())

Parametreler

tabClassNames
String[]

Özellikler penceresi sekmeler için oluşturulacak türlerin tam tür adlarını içeren bir dizi.

tabScopes
PropertyTabScope[]

Her sekmenin kapsamı. Kapsam ise Component, yalnızca karşılık gelen PropertyTabAttributebileşenleri için gösterilir. ise Document, belgedeki tüm bileşenler için gösterilir.

Özel durumlar

içindeki tabScopes değerlerden biri veya daha fazlası veya ComponentdeğildirDocument.

-veya-

ve tabScopes dizilerinin tabClassNames uzunluğu eşleşmiyor.

-veya-

tabClassNames veya tabScopes şeklindedir null.

Açıklamalar

InitializeArrays , bunun PropertyTabAttribute belirttiği sekme sınıflarının türlerini ayarlamak için kullanılabilecek bir yardımcı program işlevi sağlar.

Şunlara uygulanır

InitializeArrays(Type[], PropertyTabScope[])

Kaynak:
PropertyTabAttribute.cs
Kaynak:
PropertyTabAttribute.cs
Kaynak:
PropertyTabAttribute.cs

Belirtilen sekme sınıflarının adlarını ve sekme kapsamları dizisini kullanarak özniteliği başlatır.

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())

Parametreler

tabClasses
Type[]

Oluşturulacak sekme türleri.

tabScopes
PropertyTabScope[]

Her sekmenin kapsamı. Kapsam ise Component, yalnızca karşılık gelen PropertyTabAttributebileşenleri için gösterilir. ise Document, belgedeki tüm bileşenler için gösterilir.

Özel durumlar

içindeki tabScopes değerlerden biri veya daha fazlası veya ComponentdeğildirDocument.

-veya-

ve tabScopes dizilerinin tabClassNames uzunluğu eşleşmiyor.

-veya-

tabClassNames veya tabScopes şeklindedir null.

Açıklamalar

InitializeArrays , bunun PropertyTabAttribute belirttiği sekme sınıflarının türlerini ayarlamak için kullanılabilecek bir yardımcı program işlevi sağlar.

Şunlara uygulanır