DirList Event

Fires for each entry returned in a directory listing.

Syntax

public event OnDirListHandler OnDirList;

public delegate void OnDirListHandler(object sender, WebdavDirListEventArgs e);

public class WebdavDirListEventArgs : EventArgs {
  public string ResourceURI { get; }
  public string DisplayName { get; }
  public string ContentLanguage { get; }
  public string ContentLength { get; }
  public string ContentType { get; }
  public string LastModified { get; }
}
Public Event OnDirList As OnDirListHandler

Public Delegate Sub OnDirListHandler(sender As Object, e As WebdavDirListEventArgs)

Public Class WebdavDirListEventArgs Inherits EventArgs
  Public ReadOnly Property ResourceURI As String
  Public ReadOnly Property DisplayName As String
  Public ReadOnly Property ContentLanguage As String
  Public ReadOnly Property ContentLength As String
  Public ReadOnly Property ContentType As String
  Public ReadOnly Property LastModified As String
End Class

Remarks

The DirList event is fired when a directory listing is received as a response to ListDirectory.

The StartTransfer and EndTransfer events mark the beginning and end of the event stream.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 .NET Edition - Version 20.0 [Build 8166]