FileSystemProxy.GetParentPath メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > FileSystemProxy.GetParentPath メソッドの意味・解説 

FileSystemProxy.GetParentPath メソッド

メモ : このメソッドは、.NET Framework version 2.0新しく追加されたものです。

指定されパスの親パス返します

名前空間: Microsoft.VisualBasic.MyServices
アセンブリ: Microsoft.VisualBasic (microsoft.visualbasic.dll 内)
構文構文

Public Function GetParentPath ( _
    path As String _
) As String
Dim instance As FileSystemProxy
Dim path As String
Dim returnValue As String

returnValue = instance.GetParentPath(path)
public string GetParentPath (
    string path
)
public:
String^ GetParentPath (
    String^ path
)
public String GetParentPath (
    String path
)
public function GetParentPath (
    path : String
) : String

パラメータ

path

String調査対象パス必須

戻り値
String

解説解説

詳細については、Visual Basicトピック「My.Computer.FileSystem.GetParentPath メソッド」を参照してください

結果は文字操作によって取得されます。ファイル システム調査されるわけではありません。

使用例使用例

この例では、C:\Backups\Tmp\Test の親パス取得してます。

Dim strPath As String
strPath = My.Computer.FileSystem.GetParentPath("C:\backups\tmp\test")
MsgBox(strPath)
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
FileSystemProxy クラス
FileSystemProxy メンバ
Microsoft.VisualBasic.MyServices 名前空間
GetParentPath
その他の技術情報
My.Computer.FileSystem.GetParentPath メソッド
My.Computer.FileSystem オブジェクト
方法 : Visual Basicファイル パス解析する
Visual Basic におけるファイルディレクトリ、およびドライブプロパティ



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

FileSystemProxy.GetParentPath メソッドのお隣キーワード
検索ランキング

   

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



FileSystemProxy.GetParentPath メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2024 GRAS Group, Inc.RSS