Control Array Class
This API is now obsolete.
Implements the basic functionality common to control arrays in applications upgraded from Visual Basic 6.0.
public ref class BaseControlArray abstract : System::ComponentModel::Component, System::ComponentModel::ISupportInitialize
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. https://go.microsoft.com/fwlink/?linkid=160862")] public abstract class BaseControlArray : System.ComponentModel.Component, System.ComponentModel.ISupportInitialize
type BaseControlArray = class inherit Component interface ISupportInitialize
Public MustInherit Class BaseControlArray Inherits Component Implements ISupportInitialize
You do not typically inherit from
BaseControlArray. To create your own control array, inherit from one of the control array classes in the
Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.
Initializes a new instance of the BaseControlArray class.
Initializes a new instance of the BaseControlArray class, optionally specifying a container.
Stores the container for a control array.
Stores values to track whether a control in a control array was created at design time or at run time.
Stores values that represent the controls in a control array.
Stores a value indicating whether the initialization code for a control array's container has finished executing.
Stores the indices for a control array.
Gets a value indicating whether the component can raise an event.(Inherited from Component)
Gets a value that indicates whether the Component is currently in design mode.(Inherited from Component)
Gets the list of event handlers that are attached to this Component.(Inherited from Component)
Gets a value that indicates whether a control is a member of a control array.
Gets the index of a control in a control array.
Gets the control for a specified index in a control array.
Not supported in the BaseControlArray class.
|BaseSetIndex(Object, Int16, Boolean)||
Sets the index for a control in a control array.
Returns a value that indicates whether a control is a member of a control array.
Returns the number of controls in a control array.
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject)
Releases all resources used by the Component.(Inherited from Component)
Releases the unmanaged resources that are used by a control in a control array and optionally releases the managed resources.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Returns the type of a control in a control array.
Returns a reference to an enumerator object, which is used to iterate over a control array.
Serves as the default hash function.(Inherited from Object)
Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject)
Gets the Type of the current instance.(Inherited from Object)
Adds event handlers for a control in a control array.
Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject)
Creates a new element in a control array.
Creates a shallow copy of the current Object.(Inherited from Object)
Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject)
Removes a control from a control array.
Occurs when the component is disposed by a call to the Dispose() method.(Inherited from Component)
Explicit Interface Implementations
Begins the initialization of the control.
Ends the initialization of a control.