C# Class Smartsheet.Api.Models.Column.UpdateColumnBuilder

The convenience Class UpdateColumnBuilder to build a Column object to be updated, moved, and/or renamed. The Column's index, title, and sheetId properties must be set.
Afficher le fichier Open project: smartsheet-platform/smartsheet-csharp-sdk

Méthodes publiques

Méthode Description
Build ( ) : Column

Gets the sheet Id.

Gets the column Id.

Builds the column.

GetAutoNumberFormat ( ) : AutoNumberFormat

Gets the auto number Format.

GetFormat ( ) : int?

Gets the Format.

GetIndex ( ) : int?

Gets the Index.

GetOptions ( ) : IList

Gets the Options.

GetSymbol ( ) : Symbol?

Gets the Symbol.

GetSystemColumnType ( ) : SystemColumnType?

Gets the system column Type.

GetTitle ( ) : string

Gets the Title.

GetType ( ) : ColumnType?

Gets the Type.

SetAutoNumberFormat ( AutoNumberFormat autoNumberFormat ) : UpdateColumnBuilder

Sets the Format for an auto number column.

SetFormat ( string format ) : UpdateColumnBuilder

Sets the format descriptor.

SetIndex ( int index ) : UpdateColumnBuilder

Sets the position for the column.

SetLocked ( bool locked ) : UpdateColumnBuilder

Sets whether the column is locked.

SetOptions ( IList options ) : UpdateColumnBuilder

Sets the Options for the column.

SetSymbol ( Symbol symbol ) : UpdateColumnBuilder

Sets the Symbol for the column.

SetSystemColumnType ( SystemColumnType systemColumnType ) : UpdateColumnBuilder

Sets the system column Type for the column.

SetTitle ( string title ) : UpdateColumnBuilder

Sets the Title for the column.

SetType ( ColumnType type ) : UpdateColumnBuilder

Sets the Type for the column.

SetWidth ( long width ) : UpdateColumnBuilder

Sets the sheet Id.

Sets the column Id.

Sets the display width.

UpdateColumnBuilder ( long id, string title, int index ) : System

Sets the required properties for updating a column.

Method Details

Build() public méthode

Gets the sheet Id. Gets the column Id. Builds the column.
public Build ( ) : Column
Résultat Column

GetAutoNumberFormat() public méthode

Gets the auto number Format.
public GetAutoNumberFormat ( ) : AutoNumberFormat
Résultat AutoNumberFormat

GetFormat() public méthode

Gets the Format.
public GetFormat ( ) : int?
Résultat int?

GetIndex() public méthode

Gets the Index.
public GetIndex ( ) : int?
Résultat int?

GetOptions() public méthode

Gets the Options.
public GetOptions ( ) : IList
Résultat IList

GetSymbol() public méthode

Gets the Symbol.
public GetSymbol ( ) : Symbol?
Résultat Symbol?

GetSystemColumnType() public méthode

Gets the system column Type.
public GetSystemColumnType ( ) : SystemColumnType?
Résultat SystemColumnType?

GetTitle() public méthode

Gets the Title.
public GetTitle ( ) : string
Résultat string

GetType() public méthode

Gets the Type.
public GetType ( ) : ColumnType?
Résultat ColumnType?

SetAutoNumberFormat() public méthode

Sets the Format for an auto number column.
public SetAutoNumberFormat ( AutoNumberFormat autoNumberFormat ) : UpdateColumnBuilder
autoNumberFormat AutoNumberFormat the auto number Format
Résultat UpdateColumnBuilder

SetFormat() public méthode

Sets the format descriptor.
public SetFormat ( string format ) : UpdateColumnBuilder
format string the format
Résultat UpdateColumnBuilder

SetIndex() public méthode

Sets the position for the column.
public SetIndex ( int index ) : UpdateColumnBuilder
index int the position
Résultat UpdateColumnBuilder

SetLocked() public méthode

Sets whether the column is locked.
public SetLocked ( bool locked ) : UpdateColumnBuilder
locked bool the flag
Résultat UpdateColumnBuilder

SetOptions() public méthode

Sets the Options for the column.
public SetOptions ( IList options ) : UpdateColumnBuilder
options IList the Options
Résultat UpdateColumnBuilder

SetSymbol() public méthode

Sets the Symbol for the column.
public SetSymbol ( Symbol symbol ) : UpdateColumnBuilder
symbol Symbol the Symbol
Résultat UpdateColumnBuilder

SetSystemColumnType() public méthode

Sets the system column Type for the column.
public SetSystemColumnType ( SystemColumnType systemColumnType ) : UpdateColumnBuilder
systemColumnType SystemColumnType the system column Type
Résultat UpdateColumnBuilder

SetTitle() public méthode

Sets the Title for the column.
public SetTitle ( string title ) : UpdateColumnBuilder
title string the Title
Résultat UpdateColumnBuilder

SetType() public méthode

Sets the Type for the column.
public SetType ( ColumnType type ) : UpdateColumnBuilder
type ColumnType the Type
Résultat UpdateColumnBuilder

SetWidth() public méthode

Sets the sheet Id. Sets the column Id. Sets the display width.
public SetWidth ( long width ) : UpdateColumnBuilder
width long the width
Résultat UpdateColumnBuilder

UpdateColumnBuilder() public méthode

Sets the required properties for updating a column.
public UpdateColumnBuilder ( long id, string title, int index ) : System
id long the id of the Column
title string the new Column title
index int the new Column index (zero-based)
Résultat System