RemoteWebConfigurationHostServer.GetFileDetails メソッド

定義

構成ファイルの詳細を取得します。

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

public:
 virtual void GetFileDetails(System::String ^ name, [Runtime::InteropServices::Out] bool % exists, [Runtime::InteropServices::Out] long % size, [Runtime::InteropServices::Out] long % createDate, [Runtime::InteropServices::Out] long % lastWriteDate);
public void GetFileDetails(string name, out bool exists, out long size, out long createDate, out long lastWriteDate);
abstract member GetFileDetails : string * bool * int64 * int64 * int64 -> unit
override this.GetFileDetails : string * bool * int64 * int64 * int64 -> unit
Public Sub GetFileDetails (name As String, ByRef exists As Boolean, ByRef size As Long, ByRef createDate As Long, ByRef lastWriteDate As Long)

パラメーター

name
String

ファイルの名前。

exists
Boolean

true ファイルが存在する場合。それ以外の場合は false

size
Int64

ファイルのサイズ。

createDate
Int64

ファイルが作成された日付。

lastWriteDate
Int64

ファイルが最後に書き込まれた日付。

実装

例外

name は、拡張子が .config のファイルを指していません。

適用対象

こちらもご覧ください