IPathMatcher.Matches(IPath) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指出指定的路徑是否符合此比對者的模式。
[Android.Runtime.Register("matches", "(Ljava/nio/file/Path;)Z", "GetMatches_Ljava_nio_file_Path_Handler:Java.Nio.FileNio.IPathMatcherInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public bool Matches (Java.Nio.FileNio.IPath? path);
[<Android.Runtime.Register("matches", "(Ljava/nio/file/Path;)Z", "GetMatches_Ljava_nio_file_Path_Handler:Java.Nio.FileNio.IPathMatcherInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member Matches : Java.Nio.FileNio.IPath -> bool
參數
- path
- IPath
要比對的路徑
傳回
true
如果,且只有當路徑符合此比對者的模式時
- 屬性
備註
指出指定的路徑是否符合此比對者的模式。
的 java.nio.file.PathMatcher.matches(java.nio.file.Path)
Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。