FileHelperListTreeShow Method (DirectoryInfo, Int32, String, String) | Helper帮助文档 |
获取指定文件夹下所有子目录及文件函数
Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static string ListTreeShow( DirectoryInfo theDir, int nLevel, string Rn, string tplPath )
Public Shared Function ListTreeShow ( theDir As DirectoryInfo, nLevel As Integer, Rn As String, tplPath As String ) As String
public: static String^ ListTreeShow( DirectoryInfo^ theDir, int nLevel, String^ Rn, String^ tplPath )
static member ListTreeShow : theDir : DirectoryInfo * nLevel : int * Rn : string * tplPath : string -> string
Parameters
- theDir
- Type: System.IODirectoryInfo
指定目录 - nLevel
- Type: SystemInt32
默认起始值,调用时,一般为0 - Rn
- Type: SystemString
用于迭加的传入值,一般为空 - tplPath
- Type: SystemString
默认选择模板名称
Return Value
Type: String[Missing <returns> documentation for "M:HD.Common.FileHelper.ListTreeShow(System.IO.DirectoryInfo,System.Int32,System.String,System.String)"]
See Also