Diese Dokumentation wurde archiviert und wird nicht länger gepflegt.

_Document.SetDefaultTableStyle Method

Specifies the table style to use for newly created tables in a document.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Dim Style As Object
Dim SetInTemplate As Boolean
Dim _Document1 As _Document
_Document1.SetDefaultTableStyle(Style, SetInTemplate)

void SetDefaultTableStyle(
	[In] ref object Style, 
	[In] bool SetInTemplate
public void SetDefaultTableStyle(
	/*in*/System.Object Style, 
	/*in*/boolean SetInTemplate
function SetDefaultTableStyle(
	 Style : Object, 
	 SetInTemplate : Boolean



Required Object. A string specifying the name of the style.


Required Boolean. True to save the table style in the template attached to the document.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms