IPWorks Cloud 2020 .NET Edition

Questions / Feedback?

ItemList Event

This event fires once for each item returned when either ListItems , ListLinkItems or GetItemInfo is called.

Syntax

public event OnItemListHandler OnItemList;

public delegate void OnItemListHandler(object sender, SharefileItemListEventArgs e);

public class SharefileItemListEventArgs : EventArgs {
  public string Id { get; }
  public string Name { get; }
  public string Path { get; }
  public string CreatorFirstName { get; }
  public string CreatorLastName { get; }
  public int ItemType { get; }
  public string ParentId { get; }
  public string Description { get; }
  public string ExpirationDate { get; }
  public string CreationDate { get; }
  public long Size { get; }
}
Public Event OnItemList As OnItemListHandler

Public Delegate Sub OnItemListHandler(sender As Object, e As SharefileItemListEventArgs)

Public Class SharefileItemListEventArgs Inherits EventArgs
  Public ReadOnly Property Id As String
  Public ReadOnly Property Name As String
  Public ReadOnly Property Path As String
  Public ReadOnly Property CreatorFirstName As String
  Public ReadOnly Property CreatorLastName As String
  Public ReadOnly Property ItemType As Integer
  Public ReadOnly Property ParentId As String
  Public ReadOnly Property Description As String
  Public ReadOnly Property ExpirationDate As String
  Public ReadOnly Property CreationDate As String
  Public ReadOnly Property Size As Long
End Class

Remarks

This event fires once for each item returned when either ListItems, ListLinkItems or GetItemInfo is called. The items cannot be modified from this event.

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