This documentation is archived and is not being maintained.

PropertyTabAttribute.InitializeArrays Method (Type[], PropertyTabScope[])

Initializes the attribute using the specified names of tab classes and array of tab scopes.

Namespace:  System.ComponentModel
Assembly:  System (in System.dll)

protected void InitializeArrays(
	Type[] tabClasses,
	PropertyTabScope[] tabScopes


Type: System.Type[]
The types of tabs to create.
Type: System.ComponentModel.PropertyTabScope[]
The scope of each tab. If the scope is Component, it is shown only for components with the corresponding PropertyTabAttribute. If it is Document, it is shown for all components on the document.


One or more of the values in tabScopes is not Document or Component.


The length of the tabClassNames and tabScopes arrays do not match.


tabClassNames or tabScopes is null.

InitializeArrays provides a utility function that can be used to set the types of tab classes that this PropertyTabAttribute specifies.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.