Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

GetChildrenEventArgs Class

Namespace: Rebex.IO.FileSystem.Notifications
Assembly: Rebex.FileSystem.dll (version 7.0.9147)

Provides data for GetChildrenSurrogate and GetChildrenCompleted events.

Syntax
public class GetChildrenEventArgs : FileSystemOperationEventArgs
Inheritance
Object
EventArgs
FileSystemOperationEventArgs
GetChildrenEventArgs
Inherited Members
FileSystemOperationEventArgs.MarkAsHandled()
EventArgs.Empty
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

Properties

Name Description
Node

Affected node. Parent of the requested children.

Typically you need to handle only directories.

 if (e.Node.NodeType == NodeType.Directory)
 {
    //return children for the directory.
 }

RequiredChildrenType

Required type(s) of the returned children.

ResultChildren

Gets or sets return value for the current file system operation.

Default value in the GetChildrenSurrogate is null.

Methods

Name Description
MarkAsHandled()

Marks the current file system operation as handled by the event handler. If you directly or indirectly call this method in the event handler for any '*Surrogate' event, then you are fully responsible for the implementation of the current file system operation. In this case the default logic for the file system operation in the FileSystemProvider will be ignored! Inherited from FileSystemOperationEventArgs.

In This Article
  • Properties
  • Methods
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies