Share via


FontDialogArray.GetIndex(FontDialog) メソッド

定義

FontDialog 内の FontDialogArray のインデックスを取得します。

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

パラメーター

o
FontDialog

コントロール配列内の FontDialog

戻り値

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

注釈

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

注意

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

適用対象