'Declaration
<ExtensionAttribute()> <ElementsNotNullAttribute()> <NotNullAttribute()> Public Overloads Shared Function BrowseAll( _ ByVal directoryContents2 As IDirectoryContents2, _ ByVal includeFiles As Boolean _ ) As IEnumerable(Of FileSystemNodeTreePosition)
'Usage
Dim directoryContents2 As IDirectoryContents2 Dim includeFiles As Boolean Dim value As IEnumerable(Of FileSystemNodeTreePosition) value = IDirectoryContents2Extension.BrowseAll(directoryContents2, includeFiles)
[Extension()] [ElementsNotNull()] [NotNull()] public static IEnumerable<FileSystemNodeTreePosition> BrowseAll( IDirectoryContents2 directoryContents2, bool includeFiles )
[Extension()] [ElementsNotNull()] [NotNull()] public: static IEnumerable<FileSystemNodeTreePosition^>^ BrowseAll( IDirectoryContents2^ directoryContents2, bool includeFiles )
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.