Exemplo n.º 1
0
 /// <summary>
 /// Tests whether the <see cref="ShellItem"/> is the immediate parent
 /// of another item.
 /// </summary>
 ///
 /// <param name="item">
 /// The potential child item.
 /// </param>
 public bool IsImmediateParentOf(ShellItem item)
 {
     return(IsFolder && Shell32.ILIsParent(Pidl, item.Pidl, true));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Tests whether the <see cref="ShellItem"/> is the parent of
 /// another item.
 /// </summary>
 ///
 /// <param name="item">
 /// The potential child item.
 /// </param>
 public bool IsParentOf(ShellItem item)
 {
     return(IsFolder && Shell32.ILIsParent(Pidl, item.Pidl, false));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Tests whether the <see cref="ShellItem"/> is the parent of
 /// another item.
 /// </summary>
 ///
 /// <param name="item">
 /// The potential child item.
 /// </param>
 public bool IsParentOf(ShellItem item) => IsFolder && Shell32.ILIsParent(Pidl, item.Pidl, false);