次の方法で共有


ResultPropertyValueCollection.IndexOf メソッド

このコレクション内での指定したプロパティ値の位置を示すインデックスを取得します。

Public Function IndexOf( _
   ByVal value As Object _) As Integer
[C#]
public int IndexOf(objectvalue);
[C++]
public: int IndexOf(Object* value);
[JScript]
public function IndexOf(
   value : Object) : int;

パラメータ

  • value
    検索するプロパティ値。

戻り値

指定したプロパティ値の 0 から始まるインデックス番号。オブジェクトが見つからない場合は、-1 が返されます。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

ResultPropertyValueCollection クラス | ResultPropertyValueCollection メンバ | System.DirectoryServices 名前空間