Support.ZOrder(Control, Int32) 方法

定義

警告

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

將 Visual Basic ZOrder 方法轉換為用於 Visual Basic。

public:
 static void ZOrder(System::Windows::Forms::Control ^ Control, int Position);
public static void ZOrder(System.Windows.Forms.Control Control, int Position);
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public static void ZOrder(System.Windows.Forms.Control Control, int Position);
static member ZOrder : System.Windows.Forms.Control * int -> unit
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
static member ZOrder : System.Windows.Forms.Control * int -> unit
Public Sub ZOrder (Control As Control, Position As Integer)

參數

Control
Control

Control

Position
Int32

一個 ZOrderConstants 列舉。

屬性

備註

在 Visual Basic 6.0 中,使用 ZOrder 方法來指定控制項的分層;在 Visual Basic .0 中,它被 BringToFrontSendToBack 方法取代。 此函式被升級工具用來映射方法間。

Note

Microsoft.VisualBasic.Compatibility.VB6 命名空間中的函式與物件,供工具從 Visual Basic 6.0 升級至 Visual Basic 2008 使用。 大多數情況下,這些函式和物件會重複你在 .NET Framework 中其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用這些工具。

適用於