語言

DelegatingConfigHost.IsFile(String) 方法

定義

回傳一個值,指示物件用來讀取設定檔的檔案路徑 Stream 是否有效。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 virtual bool IsFile(System::String ^ streamName);
public virtual bool IsFile(string streamName);
abstract member IsFile : string -> bool
override this.IsFile : string -> bool
Public Overridable Function IsFile (streamName As String) As Boolean

參數

streamName
String

執行 I/O 任務的物件名稱 Stream 。

傳回

true 如果物件用 Stream 來讀取設定檔的路徑是有效的;否則, false。

實作

適用於