IsWorkbookProtectedWithPassword

Workbook.IsWorkbookProtectedWithPassword property

指示结构或窗口是否受密码保护。

public bool IsWorkbookProtectedWithPassword { get; }

也可以看看