共用方式為


DocumentBase.Protect2002 方法

This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.

命名空間:  Microsoft.Office.Tools.Word
組件:  Microsoft.Office.Tools.Word.v4.0.Utilities (在 Microsoft.Office.Tools.Word.v4.0.Utilities.dll 中)

語法

'宣告
Public Sub Protect2002 ( _
    type As WdProtectionType, _
    ByRef noReset As Object, _
    ByRef password As Object _
)
public void Protect2002(
    WdProtectionType type,
    ref Object noReset,
    ref Object password
)

參數

.NET Framework 安全性

請參閱

參考

DocumentBase 類別

Microsoft.Office.Tools.Word 命名空間