C# 클래스 Smrf.NodeXL.ExcelTemplate.TableColumnAdder

Adds columns to an Excel table (ListObject), and finds the columns that were added.
Use AddColumnPair to add a pair of columns to a table. Use GetColumnPairNames to get a collection of all the columns pairs that were added.
상속: Object
파일 보기 프로젝트 열기: 2014-sed-team3/term-project 1 사용 예제들

공개 메소드들

메소드 설명
AddColumnPair ( Microsoft workbook, String worksheetName, String tableName, String column1NameBase, Double column1WidthChars, String column2NameBase, Double column2WidthChars ) : void
GetColumnPairNames ( ListObject table, String column1NameBase, String column2NameBase ) : String>>.ICollection
TableColumnAdder ( ) : System

Initializes a new instance of the TableColumnAdder class.

보호된 메소드들

메소드 설명
GetColumnNameRegex ( String sColumnNameBase ) : Regex
GetMaximumAppendedNumber ( ListObject oTable, String sColumnNameBase ) : Int32

비공개 메소드들

메소드 설명
AssertValid ( ) : void

메소드 상세

AddColumnPair() 공개 메소드

public AddColumnPair ( Microsoft workbook, String worksheetName, String tableName, String column1NameBase, Double column1WidthChars, String column2NameBase, Double column2WidthChars ) : void
workbook Microsoft
worksheetName String
tableName String
column1NameBase String
column1WidthChars Double
column2NameBase String
column2WidthChars Double
리턴 void

GetColumnNameRegex() 보호된 메소드

protected GetColumnNameRegex ( String sColumnNameBase ) : Regex
sColumnNameBase String
리턴 System.Text.RegularExpressions.Regex

GetColumnPairNames() 공개 메소드

public GetColumnPairNames ( ListObject table, String column1NameBase, String column2NameBase ) : String>>.ICollection
table ListObject
column1NameBase String
column2NameBase String
리턴 String>>.ICollection

GetMaximumAppendedNumber() 보호된 메소드

protected GetMaximumAppendedNumber ( ListObject oTable, String sColumnNameBase ) : Int32
oTable ListObject
sColumnNameBase String
리턴 System.Int32

TableColumnAdder() 공개 메소드

Initializes a new instance of the TableColumnAdder class.
public TableColumnAdder ( ) : System
리턴 System