Document.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 中)
  Microsoft.Office.Tools.Word (在 Microsoft.Office.Tools.Word.dll 中)

語法

'宣告
Sub Protect2002 ( _
    Type As WdProtectionType, _
    ByRef NoReset As Object, _
    ByRef Password As Object _
)
void Protect2002(
    WdProtectionType Type,
    ref Object NoReset,
    ref Object Password
)

參數

.NET Framework 安全性

請參閱

參考

Document 介面

Microsoft.Office.Tools.Word 命名空間