C# Класс Smartsheet.Api.Models.Column.AddColumnBuilder

A convenience class To help create a column object with the appropriate fields for adding To a sheet.
Показать файл Открыть проект

Открытые методы

Метод Описание
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