C# 클래스 Smartsheet.Api.Models.Column.AddColumnBuilder

A convenience class To help create a column object with the appropriate fields for adding To a sheet.
파일 보기 프로젝트 열기: smartsheet-platform/smartsheet-csharp-sdk

공개 메소드들

메소드 설명
AddColumnBuilder ( string title, int index, ColumnType type ) : System

Sets the required properties for adding a Column to a Sheet.

Build ( ) : Column

Builds the column.

GetAutoNumberFormat ( ) : AutoNumberFormat

Gets the Format for an auto number column.

GetIndex ( ) : int?

Gets the Index.

GetLocked ( ) : bool?

Gets the flag whether column is locked or not.

GetOptions ( ) : IList

Gets the option for the column.

GetSymbol ( ) : Symbol?

Gets the Symbol for the column.

GetSystemColumnType ( ) : SystemColumnType?

Gets the system column Type.

GetTitle ( ) : string

Gets the Title.

GetType ( ) : ColumnType?

Gets the Type for the column.

GetWidth ( ) : long?

Gets the display width.

SetAutoNumberFormat ( AutoNumberFormat autoNumberFormat ) : AddColumnBuilder

Sets the Format for an auto number column.

SetIndex ( int index ) : AddColumnBuilder

Sets the position for the column.

SetLocked ( bool locked ) : AddColumnBuilder

Sets whether the column is locked.

SetOptions ( IList options ) : AddColumnBuilder

Sets the Options for the column.

SetSymbol ( Symbol symbol ) : AddColumnBuilder

Sets the Symbol for the column.

SetSystemColumnType ( SystemColumnType systemColumnType ) : AddColumnBuilder

Sets the system column Type.

SetTitle ( string title ) : AddColumnBuilder

Sets the Title for the column.

SetType ( ColumnType type ) : AddColumnBuilder

Sets the Type for the column.

SetWidth ( long width ) : AddColumnBuilder

Sets the Primary flag for the column.

메소드 상세

AddColumnBuilder() 공개 메소드

Sets the required properties for adding a Column to a Sheet.
public AddColumnBuilder ( string title, int index, ColumnType type ) : System
title string the Column title
index int the Column index (zero-based)
type ColumnType the Column Type
리턴 System

Build() 공개 메소드

Builds the column.
public Build ( ) : Column
리턴 Column

GetAutoNumberFormat() 공개 메소드

Gets the Format for an auto number column.
public GetAutoNumberFormat ( ) : AutoNumberFormat
리턴 AutoNumberFormat

GetIndex() 공개 메소드

Gets the Index.
public GetIndex ( ) : int?
리턴 int?

GetLocked() 공개 메소드

Gets the flag whether column is locked or not.
public GetLocked ( ) : bool?
리턴 bool?

GetOptions() 공개 메소드

Gets the option for the column.
public GetOptions ( ) : IList
리턴 IList

GetSymbol() 공개 메소드

Gets the Symbol for the column.
public GetSymbol ( ) : Symbol?
리턴 Symbol?

GetSystemColumnType() 공개 메소드

Gets the system column Type.
public GetSystemColumnType ( ) : SystemColumnType?
리턴 SystemColumnType?

GetTitle() 공개 메소드

Gets the Title.
public GetTitle ( ) : string
리턴 string

GetType() 공개 메소드

Gets the Type for the column.
public GetType ( ) : ColumnType?
리턴 ColumnType?

GetWidth() 공개 메소드

Gets the display width.
public GetWidth ( ) : long?
리턴 long?

SetAutoNumberFormat() 공개 메소드

Sets the Format for an auto number column.
public SetAutoNumberFormat ( AutoNumberFormat autoNumberFormat ) : AddColumnBuilder
autoNumberFormat AutoNumberFormat the auto number Format
리턴 AddColumnBuilder

SetIndex() 공개 메소드

Sets the position for the column.
public SetIndex ( int index ) : AddColumnBuilder
index int the position
리턴 AddColumnBuilder

SetLocked() 공개 메소드

Sets whether the column is locked.
public SetLocked ( bool locked ) : AddColumnBuilder
locked bool the flag
리턴 AddColumnBuilder

SetOptions() 공개 메소드

Sets the Options for the column.
public SetOptions ( IList options ) : AddColumnBuilder
options IList the Options
리턴 AddColumnBuilder

SetSymbol() 공개 메소드

Sets the Symbol for the column.
public SetSymbol ( Symbol symbol ) : AddColumnBuilder
symbol Symbol the Symbol
리턴 AddColumnBuilder

SetSystemColumnType() 공개 메소드

Sets the system column Type.
public SetSystemColumnType ( SystemColumnType systemColumnType ) : AddColumnBuilder
systemColumnType SystemColumnType the system column Type
리턴 AddColumnBuilder

SetTitle() 공개 메소드

Sets the Title for the column.
public SetTitle ( string title ) : AddColumnBuilder
title string the Title
리턴 AddColumnBuilder

SetType() 공개 메소드

Sets the Type for the column.
public SetType ( ColumnType type ) : AddColumnBuilder
type ColumnType the Type
리턴 AddColumnBuilder

SetWidth() 공개 메소드

Sets the Primary flag for the column.
public SetWidth ( long width ) : AddColumnBuilder
width long the width
리턴 AddColumnBuilder