Show / Hide Table of Contents

Class CKColumns

Represents a collection of CKColumn objects in a Word table.

Inheritance
object
CKDOMObject
CKColumns
Implements
IDOMObject
IEnumerable<CKColumn>
IEnumerable
Inherited Members
CKDOMObject.Document
CKDOMObject.Application
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: CoverageKiller2.DOM.Tables
Assembly: CoverageKiller2.dll
Syntax
public class CKColumns : CKDOMObject, IDOMObject, IEnumerable<CKColumn>, IEnumerable
Remarks

Version: CK2.00.02.0003

Constructors

CKColumns(IDOMObject)

Declaration
public CKColumns(IDOMObject parent)
Parameters
Type Name Description
IDOMObject parent

Properties

Count

Declaration
public int Count { get; }
Property Value
Type Description
int

IsDirty

Indicates whether this DOM object has unsaved changes.

Declaration
public override bool IsDirty { get; protected set; }
Property Value
Type Description
bool
Overrides
CKDOMObject.IsDirty

IsOrphan

Indicates whether this DOM object is orphaned (e.g., lost its backing COM reference).

Declaration
public override bool IsOrphan { get; protected set; }
Property Value
Type Description
bool
Overrides
CKDOMObject.IsOrphan

this[int]

Declaration
public CKColumn this[int index] { get; }
Parameters
Type Name Description
int index
Property Value
Type Description
CKColumn

Parent

Gets the logical parent of this DOM object.

Declaration
public override IDOMObject Parent { get; protected set; }
Property Value
Type Description
IDOMObject
Overrides
CKDOMObject.Parent

Methods

Delete(CKColumn)

Deletes the specified column from the table.

Declaration
public void Delete(CKColumn column)
Parameters
Type Name Description
CKColumn column

The column to delete.

Delete(IEnumerable<CKColumn>)

Deletes all the specified columns from the table.

Declaration
public void Delete(IEnumerable<CKColumn> columns)
Parameters
Type Name Description
IEnumerable<CKColumn> columns

The collection of columns to delete.

Delete(Func<CKColumn, bool>)

Deletes all columns matching the given predicate.

Declaration
public void Delete(Func<CKColumn, bool> predicate)
Parameters
Type Name Description
Func<CKColumn, bool> predicate

A function that evaluates each column.

Delete(int)

Deletes the column at the specified one-based index.

Declaration
public void Delete(int index)
Parameters
Type Name Description
int index

The one-based index of the column to delete.

GetEnumerator()

Declaration
public IEnumerator<CKColumn> GetEnumerator()
Returns
Type Description
IEnumerator<CKColumn>

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Implements

IDOMObject
IEnumerable<T>
IEnumerable

Extension Methods

PingService.PingPong<T>(T, string)
PingService.PingPong<T>(T, string, string)
PingService.PingPong<T, TResult>(T, Func<TResult>, string, string)
PingService.Ping<T>(T, string)
PingService.Ping<T>(T, string, string)
PingService.Ping<T>(T, Type[], string)
PingService.Pong<T>(T, string)
PingService.Pong<T>(T, string, string)
PingService.Pong<T>(T, Type, string)
PingService.Pong<T>(T, Type[], string)
PingService.Pong<T, TResult>(T, Func<TResult>, string, string)
In this article
Back to top Generated by DocFX