次の方法で共有


PropertyTabAttribute.InitializeArrays メソッド (String[], PropertyTabScope )

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

Overloads Protected Sub InitializeArrays( _
   ByVal tabClassNames() As String, _   ByVal tabScopes() As PropertyTabScope _)
[C#]
protected void InitializeArrays(string[] tabClassNames,PropertyTabScope[] tabScopes);
[C++]
protected: void InitializeArrays(String* tabClassNames __gc[],PropertyTabScopetabScopes[]);
[JScript]
protected function InitializeArrays(
   tabClassNames : String[],tabScopes : PropertyTabScope[]);

パラメータ

  • tabClassNames
    [プロパティ] ウィンドウのタブに対して作成する型の完全限定型名の配列。
  • tabScopes
    各タブのスコープ。スコープが Component の場合、タブは対応する PropertyTabAttribute を持つコンポーネントに対してだけ表示されます。 Document の場合は、ドキュメント上のすべてのコンポーネントに対して表示されます。

解説

InitializeArrays は、 PropertyTabAttribute が指定するタブ クラスの型を設定するために使用できるユーティリティ機能を提供します。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

PropertyTabAttribute クラス | PropertyTabAttribute メンバ | System.ComponentModel 名前空間 | PropertyTabAttribute.InitializeArrays オーバーロードの一覧