SearchResult.Path プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > SearchResult.Path プロパティの意味・解説 

SearchResult.Path プロパティ

SearchResult のパスを取得します。

名前空間: System.DirectoryServices
アセンブリ: System.DirectoryServices (system.directoryservices.dll 内)
構文構文

解説解説
使用例使用例

次の例は、SearchResult の例の抜粋です。元の例は、目的のパスを持つ新しい DirectoryEntry オブジェクトを作成し、FindOne メソッドを使用して検索を実行します。この例では、検索を実行した後、GetDirectoryEntry メソッドを使用して、検索結果に示されるライブ ディレクトリ エントリを取得します。

この例では、検索結果から Path プロパティを解析する方法を示します。

Dim mySearchResultPath As String
 = mySearchResult.Path
Console.WriteLine("The path for the 'mySearchResult'
 search result is : {0}" + _
                  ControlChars.Newline, mySearchResultPath)

string mySearchResultPath = mySearchResult.Path;
Console.WriteLine("The path for the 'mySearchResult'
 search "
                  + "result is : {0}\n", mySearchResultPath);
String^ mySearchResultPath = mySearchResult->Path;
Console::WriteLine("The path for the 'mySearchResult'
 search result is : {0}\n", mySearchResultPath);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

SearchResult.Path プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



SearchResult.Path プロパティのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS