DirectoryAttributeCollection.IndexOf(DirectoryAttribute) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
IndexOf(DirectoryAttribute) メソッドは、DirectoryAttributeCollectionで指定したDirectoryAttribute オブジェクトの最初の出現位置の 0 から始まるインデックスを返します。
public:
int IndexOf(System::DirectoryServices::Protocols::DirectoryAttribute ^ value);
public int IndexOf(System.DirectoryServices.Protocols.DirectoryAttribute value);
member this.IndexOf : System.DirectoryServices.Protocols.DirectoryAttribute -> int
Public Function IndexOf (value As DirectoryAttribute) As Integer
パラメーター
- value
- DirectoryAttribute
インデックスが返される DirectoryAttribute オブジェクト。
返品
指定した DirectoryAttribute オブジェクトのインデックス値 (見つかった場合)。それ以外の場合は -1。