'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Overloads Shared Function BrowseTree( _ ByVal directoryContents2 As IDirectoryContents2, _ ByVal includeFiles As Boolean _ ) As ITreeTraversable(Of FileSystemNodeTreePosition)
'Usage
Dim directoryContents2 As IDirectoryContents2 Dim includeFiles As Boolean Dim value As ITreeTraversable(Of FileSystemNodeTreePosition) value = IDirectoryContents2Extension.BrowseTree(directoryContents2, includeFiles)
[Extension()] [NotNull()] public static ITreeTraversable<FileSystemNodeTreePosition> BrowseTree( IDirectoryContents2 directoryContents2, bool includeFiles )
[Extension()] [NotNull()] public: static ITreeTraversable<FileSystemNodeTreePosition^>^ BrowseTree( IDirectoryContents2^ directoryContents2, bool includeFiles )
Parameters
- directoryContents2
- The directory contents object that will perform the operation.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - includeFiles
- Specifies whether to include file objects in the returned tree.
Return Value
This method never returns null
(Nothing
in Visual Basic).