PropertyTabAttribute.InitializeArrays メソッド

定義

属性を初期化します。

オーバーロード

名前 説明
InitializeArrays(String[], PropertyTabScope[])

タブ クラスの指定した名前とタブ スコープの配列を使用して、属性を初期化します。

InitializeArrays(Type[], PropertyTabScope[])

タブ クラスの指定した名前とタブ スコープの配列を使用して、属性を初期化します。

InitializeArrays(String[], PropertyTabScope[])

ソース:
PropertyTabAttribute.cs
ソース:
PropertyTabAttribute.cs
ソース:
PropertyTabAttribute.cs
ソース:
PropertyTabAttribute.cs
ソース:
PropertyTabAttribute.cs

タブ クラスの指定した名前とタブ スコープの配列を使用して、属性を初期化します。

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

パラメーター

tabClassNames
String[]

プロパティ ウィンドウのタブ用に作成する型の完全修飾型名の配列。

tabScopes
PropertyTabScope[]

各タブのスコープ。スコープが Componentされている場合は、対応する PropertyTabAttributeを持つコンポーネントに対してのみ表示されます。 Documentされている場合は、ドキュメント上のすべてのコンポーネントに対して表示されます。

属性

例外

tabScopes内の 1 つ以上の値がDocumentまたはComponentされていません。

-又は-

tabClassNames配列とtabScopes配列の長さが一致しません。

-又は-

tabClassNames または tabScopesnull

注釈

InitializeArrays には、この PropertyTabAttribute が指定するタブ クラスの型を設定するために使用できるユーティリティ関数が用意されています。

適用対象

InitializeArrays(Type[], PropertyTabScope[])

ソース:
PropertyTabAttribute.cs
ソース:
PropertyTabAttribute.cs
ソース:
PropertyTabAttribute.cs
ソース:
PropertyTabAttribute.cs
ソース:
PropertyTabAttribute.cs

タブ クラスの指定した名前とタブ スコープの配列を使用して、属性を初期化します。

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

パラメーター

tabClasses
Type[]

作成するタブの種類。

tabScopes
PropertyTabScope[]

各タブのスコープ。スコープが Componentされている場合は、対応する PropertyTabAttributeを持つコンポーネントに対してのみ表示されます。 Documentされている場合は、ドキュメント上のすべてのコンポーネントに対して表示されます。

例外

tabScopes内の 1 つ以上の値がDocumentまたはComponentされていません。

-又は-

tabClasses配列とtabScopes配列の長さが一致しません。

-又は-

tabClasses または tabScopesnull

注釈

InitializeArrays には、この PropertyTabAttribute が指定するタブ クラスの型を設定するために使用できるユーティリティ関数が用意されています。

適用対象