Parameters
- directoryContents2
- The directory contents object that will perform the operation.
- includeFiles
- Specifies whether to include file objects in the returned tree.
Return Value
Returns a sequence of directories and files.
Exception | Description |
---|---|
System.ArgumentNullException |
A This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception. |