Udostępnij za pośrednictwem


RemoteWebConfigurationHostServer.GetFileDetails Metoda

Definicja

Pobiera szczegóły pliku konfiguracji.

Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.

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)

Parametry

name
String

Nazwa pliku.

exists
Boolean

true jeśli plik istnieje; w przeciwnym razie , false.

size
Int64

Rozmiar pliku.

createDate
Int64

Data utworzenia pliku.

lastWriteDate
Int64

Data ostatniego zapisania pliku.

Implementuje

Wyjątki

name nie wskazuje pliku z rozszerzeniem .config.

Dotyczy

Zobacz też