 | DirExSelectDir 方法 |
Sweet 开发框架
选择文件夹
命名空间:
Sweet.Common
程序集:
Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法public static bool SelectDir(
string desc,
out string dir,
bool showNewButton = true
)
Public Shared Function SelectDir (
desc As String,
<OutAttribute> ByRef dir As String,
Optional showNewButton As Boolean = true
) As Boolean
static member SelectDir :
desc : string *
dir : string byref *
?showNewButton : bool
(* Defaults:
let _showNewButton = defaultArg showNewButton true
*)
-> bool
参数
- desc
- 类型:SystemString
说明 - dir
- 类型:SystemString
返回true则path为选择文件夹路径 - showNewButton (Optional)
- 类型:SystemBoolean
显示新建文件夹按钮
返回值
类型:
Boolean是否选择文件夹
参见