ImageListArray 類別

定義

警告

此 API 現已淘汰。

提供 ImageList 控制項的控制項陣列。Provides a control array of ImageList controls.

public ref class ImageListArray : Microsoft::VisualBasic::Compatibility::VB6::BaseControlArray, System::ComponentModel::IExtenderProvider
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. https://go.microsoft.com/fwlink/?linkid=160862")]
public class ImageListArray : Microsoft.VisualBasic.Compatibility.VB6.BaseControlArray, System.ComponentModel.IExtenderProvider
type ImageListArray = class
    inherit BaseControlArray
    interface IExtenderProvider
Public Class ImageListArray
Inherits BaseControlArray
Implements IExtenderProvider
繼承
屬性
實作

備註

ImageListArray 類別提供 Visual Basic 6.0 ImageList 陣列之執行時間功能的對等用法。The ImageListArray class provides an equivalent for the run-time functionality of a Visual Basic 6.0 ImageList array. 它不會提供 Visual Basic 6.0 控制項陣列的設計階段功能。It does not provide the design-time features of a Visual Basic 6.0 control array.

注意

Microsoft.VisualBasic.Compatibility.VB6 命名空間中的函式和物件都是供這些工具使用,以便從 Visual Basic 6.0 升級至 Visual Basic。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. 在大多數情況下,這些函式和物件會複製在 .NET Framework.NET Framework 的其他命名空間中可以找到的功能。In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework.NET Framework. 只有當 Visual Basic 6.0 程式碼模型與 .NET Framework.NET Framework 實作有顯著差異時,才需要這些項目。They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework.NET Framework implementation.

建構函式

ImageListArray()

初始化 ImageListArray 類別的新執行個體。Initializes a new instance of the ImageListArray class.

ImageListArray(IContainer)

初始化 ImageListArray 類別的新執行個體,並指定其容器。Initializes a new instance of the ImageListArray class, specifying its container.

欄位

components

儲存控制項陣列的容器。Stores the container for a control array.

(繼承來源 BaseControlArray)
controlAddedAtDesignTime

儲存值以追蹤控制項陣列中的控制項是在設計階段或執行階段建立的。Stores values to track whether a control in a control array was created at design time or at run time.

(繼承來源 BaseControlArray)
controls

儲存值,這些值代表控制項陣列中的控制項。Stores values that represent the controls in a control array.

(繼承來源 BaseControlArray)
fIsEndInitCalled

儲存值,這個值表示控制項陣列容器的初始化程式碼是否已完成執行。Stores a value indicating whether the initialization code for a control array's container has finished executing.

(繼承來源 BaseControlArray)
indices

儲存控制項陣列的索引。Stores the indices for a control array.

(繼承來源 BaseControlArray)

屬性

CanRaiseEvents

取得值,指出元件是否能引發事件。Gets a value indicating whether the component can raise an event.

(繼承來源 Component)
Container

取得包含 IContainerComponentGets the IContainer that contains the Component.

(繼承來源 Component)
DesignMode

取得值,指出 Component 目前是否處於設計模式。Gets a value that indicates whether the Component is currently in design mode.

(繼承來源 Component)
Events

取得附加在這個 Component 上的事件處理常式清單。Gets the list of event handlers that are attached to this Component.

(繼承來源 Component)
Item[Int16]

依索引取得 ImageListArray 的特定項目。Gets a specific element of an ImageListArray by index. 唯讀。Read-only.

Site

取得或設定 ComponentISiteGets or sets the ISite of the Component.

(繼承來源 Component)

方法

BaseCanExtend(Object)

取得值,這個值表示控制項是否為控制項陣列的成員。Gets a value that indicates whether a control is a member of a control array.

(繼承來源 BaseControlArray)
BaseGetIndex(Object)

取得控制項陣列中的控制項索引。Gets the index of a control in a control array.

(繼承來源 BaseControlArray)
BaseGetItem(Int16)

取得控制項陣列中已指定索引的控制項。Gets the control for a specified index in a control array.

(繼承來源 BaseControlArray)
BaseResetIndex(Object)

BaseControlArray 類別中不支援。Not supported in the BaseControlArray class.

(繼承來源 BaseControlArray)
BaseSetIndex(Object, Int16, Boolean)

設定控制項陣列中的控制項索引。Sets the index for a control in a control array.

(繼承來源 BaseControlArray)
BaseShouldSerializeIndex(Object)

傳回值,這個值表示控制項是否為控制項陣列的成員。Returns a value that indicates whether a control is a member of a control array.

(繼承來源 BaseControlArray)
CanExtend(Object)

取得值,以判斷控制項是否為 ImageListArray 的成員。Gets a value that determines whether a control is a member of an ImageListArray.

Count()

傳回控制項陣列中的控制項數目。Returns the number of controls in a control array.

(繼承來源 BaseControlArray)
CreateObjRef(Type)

建立包含所有相關資訊的物件,這些資訊是產生用來與遠端物件通訊的所需 Proxy。Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(繼承來源 MarshalByRefObject)
Dispose()

釋放 Component 所使用的所有資源。Releases all resources used by the Component.

(繼承來源 Component)
Dispose(Boolean)

釋放控制項陣列中某個控制項所使用的 Unmanaged 資源,並選擇性地釋放 Managed 資源。Releases the unmanaged resources that are used by a control in a control array and optionally releases the managed resources.

(繼承來源 BaseControlArray)
Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetControlInstanceType()

覆寫 GetControlInstanceType()Overrides GetControlInstanceType().

GetEnumerator()

傳回對列舉值物件的參考,這個物件用來反覆查看控制項陣列。Returns a reference to an enumerator object, which is used to iterate over a control array.

(繼承來源 BaseControlArray)
GetHashCode()

作為預設雜湊函數。Serves as the default hash function.

(繼承來源 Object)
GetIndex(ImageList)

取得 ImageListImageListArray 的索引。Gets the index of an ImageList in an ImageListArray.

GetLifetimeService()

擷取控制這個執行個體存留期 (Lifetime) 原則的目前存留期服務物件。Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(繼承來源 MarshalByRefObject)
GetService(Type)

傳回表示 Component 或其 Container 所提供之服務的物件。Returns an object that represents a service provided by the Component or by its Container.

(繼承來源 Component)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
HookUpControlEvents(Object)

覆寫 HookUpControlEvents(Object)Overrides HookUpControlEvents(Object).

InitializeLifetimeService()

取得存留期服務物件,以控制這個執行個體的存留期原則。Obtains a lifetime service object to control the lifetime policy for this instance.

(繼承來源 MarshalByRefObject)
LBound()

傳回 Short,其中包含控制項陣列的最小可用註標。Returns a Short that contains the smallest available subscript for a control array.

(繼承來源 BaseControlArray)
Load(Int16)

在控制項陣列中建立新項目。Creates a new element in a control array.

(繼承來源 BaseControlArray)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
MemberwiseClone(Boolean)

建立目前 MarshalByRefObject 物件的淺層複本。Creates a shallow copy of the current MarshalByRefObject object.

(繼承來源 MarshalByRefObject)
ResetIndex(ImageList)

ImageListArray 類別中不支援 ResetIndex 方法。The ResetIndex method is not supported in the ImageListArray class.

SetIndex(ImageList, Int16)

設定 ImageList 中初始 ImageListArray 的索引。Sets the index of the initial ImageList in a ImageListArray.

ShouldSerializeIndex(ImageList)

傳回值,表示 ImageList 是否為這個 ImageListArray 的成員。Returns a value that indicates whether an ImageList is a member of this ImageListArray.

ToString()

傳回任何包含 Component 名稱的 StringReturns a String containing the name of the Component, if any. 不應覆寫此方法。This method should not be overridden.

(繼承來源 Component)
UBound()

傳回 Short,其中包含控制項陣列的最大可用註標。Returns a Short that contains the largest available subscript for a control array.

(繼承來源 BaseControlArray)
Unload(Int16)

從控制項陣列中移除控制項。Removes a control from a control array.

(繼承來源 BaseControlArray)

事件

Disposed

當此元件由 Dispose() 方法的呼叫處置時發生。Occurs when the component is disposed by a call to the Dispose() method.

(繼承來源 Component)

明確介面實作

ISupportInitialize.BeginInit()

開始控制項的初始化。Begins the initialization of the control.

(繼承來源 BaseControlArray)
ISupportInitialize.EndInit()

結束控制項的初始化。Ends the initialization of a control.

(繼承來源 BaseControlArray)

適用於