PropertyTabAttribute::InitializeArrays Method (array<String^>^, array<PropertyTabScope>^)
.NET Framework (current version)
Initializes the attribute using the specified names of tab classes and array of tab scopes.
Assembly: System (in System.dll)
protected: void InitializeArrays( array<String^>^ tabClassNames, array<PropertyTabScope>^ tabScopes )
Parameters
- tabClassNames
-
Type:
array<System::String^>^
An array of fully qualified type names of the types to create for tabs on the Properties window.
- tabScopes
-
Type:
array<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.
| Exception | Condition |
|---|---|
| ArgumentException |
InitializeArrays provides a utility function that can be used to set the types of tab classes that this PropertyTabAttribute specifies.
.NET Framework
Available since 1.1
Available since 1.1
Show: