タブ クラスの名前とタブのスコープを指定して、PropertyTabAttribute クラスの新しいインスタンスを初期化します。
名前空間: System.ComponentModel
アセンブリ: System (system.dll 内)
構文
'宣言
Public Sub New ( _
tabClassName As String, _
tabScope As PropertyTabScope _
)
'使用
Dim tabClassName As String
Dim tabScope As PropertyTabScope
Dim instance As New PropertyTabAttribute(tabClassName, tabScope)
public PropertyTabAttribute (
string tabClassName,
PropertyTabScope tabScope
)
public:
PropertyTabAttribute (
String^ tabClassName,
PropertyTabScope tabScope
)
public PropertyTabAttribute (
String tabClassName,
PropertyTabScope tabScope
)
public function PropertyTabAttribute (
tabClassName : String,
tabScope : PropertyTabScope
)
パラメータ
- tabClassName
作成するタブの型のアセンブリ修飾名。この書式指定規則の例については、AssemblyQualifiedName のトピックを参照してください。
- tabScope
タブのスコープを示す PropertyTabScope。スコープが Component の場合、タブは対応する PropertyTabAttribute を持つコンポーネントに対してだけ表示されます。Document の場合は、ドキュメント上のすべてのコンポーネントに対して表示されます。
例外
例外の種類 | 条件 |
---|---|
tabScope が Document または Component ではありません。 |
プラットフォーム
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 2.0、1.1、1.0
参照
関連項目
PropertyTabAttribute クラス
PropertyTabAttribute メンバ
System.ComponentModel 名前空間