PrintDialogArray.GetIndex(PrintDialog) メソッド

定義

PrintDialogArray内のPrintDialogのインデックスを取得します。

public:
 short GetIndex(System::Windows::Forms::PrintDialog ^ o);
public short GetIndex(System.Windows.Forms.PrintDialog o);
member this.GetIndex : System.Windows.Forms.PrintDialog -> int16
Public Function GetIndex (o As PrintDialog) As Short

パラメーター

o
PrintDialog

コントロール配列内の PrintDialog

返品

指定したPrintDialogのインデックスを表すShort

注釈

このメソッドを使用して、指定した PrintDialogのインデックスを取得できます。

Note

Microsoft.VisualBasic.Compatibility.VB6名前空間の関数とオブジェクトは、Visual Basic 6.0 から Visual Basic にアップグレードするためのツールで使用するために用意されています。 ほとんどの場合、これらの関数とオブジェクトは、.NET Framework の他の名前空間で見つけることができる機能を複製します。 これらは、Visual Basic 6.0 コード モデルが .NET Framework の実装と大きく異なる場合にのみ必要です。

適用対象