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

A convenience class To help create a column object with the appropriate fields for adding To a Sheet being created.
파일 보기 프로젝트 열기: smartsheet-platform/smartsheet-csharp-sdk 1 사용 예제들

공개 메소드들

메소드 설명
Build ( ) : Column

Builds the column.

CreateSheetColumnBuilder ( string title, bool primary, ColumnType type ) : System

Sets the required properties for a Column.

GetAutoNumberFormat ( ) : AutoNumberFormat

Gets the Format for an auto number column.

GetOptions ( ) : IList

Gets the option for the column.

GetPrimary ( ) : bool?

Gets the whether the Column is the Primary 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 ) : CreateSheetColumnBuilder

Sets the Format for an auto number column.

SetOptions ( IList options ) : CreateSheetColumnBuilder

Sets the Options for the column.

SetPrimary ( bool primary ) : CreateSheetColumnBuilder

Sets whether the column is the Primary Column.

SetSymbol ( Symbol symbol ) : CreateSheetColumnBuilder

Sets the Symbol for the column.

SetSystemColumnType ( SystemColumnType systemColumnType ) : CreateSheetColumnBuilder

Sets the system column Type.

SetTitle ( string title ) : CreateSheetColumnBuilder

Sets the Title for the column.

SetType ( ColumnType type ) : CreateSheetColumnBuilder

Sets the Type for the column.

SetWidth ( long width ) : CreateSheetColumnBuilder

Sets the Primary flag for the column.

메소드 상세

Build() 공개 메소드

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

CreateSheetColumnBuilder() 공개 메소드

Sets the required properties for a Column.
public CreateSheetColumnBuilder ( string title, bool primary, ColumnType type ) : System
title string must be unique within the Sheet
primary bool one and only one Column may be a Primary column
type ColumnType must be set to TEXT_NUMBER if column is primary
리턴 System

GetAutoNumberFormat() 공개 메소드

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

GetOptions() 공개 메소드

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

GetPrimary() 공개 메소드

Gets the whether the Column is the Primary Column.
public GetPrimary ( ) : bool?
리턴 bool?

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 ) : CreateSheetColumnBuilder
autoNumberFormat AutoNumberFormat the auto number Format
리턴 CreateSheetColumnBuilder

SetOptions() 공개 메소드

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

SetPrimary() 공개 메소드

Sets whether the column is the Primary Column.
public SetPrimary ( bool primary ) : CreateSheetColumnBuilder
primary bool the primary
리턴 CreateSheetColumnBuilder

SetSymbol() 공개 메소드

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

SetSystemColumnType() 공개 메소드

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

SetTitle() 공개 메소드

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

SetType() 공개 메소드

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

SetWidth() 공개 메소드

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