RadioButtonArray.GetIndex(RadioButton) メソッド

定義

RadioButton 内の RadioButtonArray のインデックスを取得します。

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

パラメーター

o
RadioButton

コントロール配列内の RadioButton

戻り値

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

注釈

このメソッドは、 のインデックス RadioButtonを取得するために使用できます。

注意

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

適用対象