Columns.Add MethodÂ
Adds a column to a table.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim BeforeColumn As Object
Dim returnValue As Column
Dim columns1 As Columns
returnValue = columns1.Add(BeforeColumn)
Syntax
Function Add( _
<InAttribute()> Optional ByRef BeforeColumn As Object _
) As Column
Column Add(
[In, Optional] ref object BeforeColumn
);
public: Column^ Add(
&Object^ BeforeColumn
);
public Column Add(
/*in*/System.Object BeforeColumn
);
function Add(
BeforeColumn : Object
) : Column;
Parameters
- BeforeColumn
A Column object that represents the column that will appear immediately to the right of the new column.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Columns Interface
Microsoft.Office.Interop.Word Namespace