DesignerDataColumn Construtores

Definição

Inicializa uma nova instância da classe DesignerDataColumn.Initializes a new instance of the DesignerDataColumn class.

Sobrecargas

DesignerDataColumn(String, DbType)

Inicializa uma nova instância da classe DesignerDataColumn com o nome e tipo de dados especificados.Initializes a new instance of the DesignerDataColumn class with the specified name and data type.

DesignerDataColumn(String, DbType, Object)

Inicializa uma nova instância da classe DesignerDataColumn com o nome, o tipo de dados e o valor padrão especificados.Initializes a new instance of the DesignerDataColumn class with the specified name, data type, and default value.

DesignerDataColumn(String, DbType, Object, Boolean, Boolean, Boolean, Int32, Int32, Int32)

Inicializa uma nova instância da classe DesignerDataColumn com os valores especificados.Initializes a new instance of the DesignerDataColumn class with the specified values.

DesignerDataColumn(String, DbType)

Inicializa uma nova instância da classe DesignerDataColumn com o nome e tipo de dados especificados.Initializes a new instance of the DesignerDataColumn class with the specified name and data type.

public:
 DesignerDataColumn(System::String ^ name, System::Data::DbType dataType);
public DesignerDataColumn (string name, System.Data.DbType dataType);
new System.ComponentModel.Design.Data.DesignerDataColumn : string * System.Data.DbType -> System.ComponentModel.Design.Data.DesignerDataColumn
Public Sub New (name As String, dataType As DbType)

Parâmetros

name
String

O nome que identifica a coluna no armazenamento de dados.The name identifying the column in the data store.

dataType
DbType

Um dos valores de DbType.One of the DbType values.

Comentários

Use o DesignerDataColumn para definir as Name DataType Propriedades e.Use the DesignerDataColumn to set the Name and DataType properties. Todas as outras propriedades são definidas com seus valores padrão.All other properties are set to their default values.

Aplica-se a

DesignerDataColumn(String, DbType, Object)

Inicializa uma nova instância da classe DesignerDataColumn com o nome, o tipo de dados e o valor padrão especificados.Initializes a new instance of the DesignerDataColumn class with the specified name, data type, and default value.

public:
 DesignerDataColumn(System::String ^ name, System::Data::DbType dataType, System::Object ^ defaultValue);
public DesignerDataColumn (string name, System.Data.DbType dataType, object defaultValue);
new System.ComponentModel.Design.Data.DesignerDataColumn : string * System.Data.DbType * obj -> System.ComponentModel.Design.Data.DesignerDataColumn
Public Sub New (name As String, dataType As DbType, defaultValue As Object)

Parâmetros

name
String

O nome que identifica a coluna no armazenamento de dados.The name identifying the column in the data store.

dataType
DbType

Um dos valores de DbType.One of the DbType values.

defaultValue
Object

O valor padrão da coluna.The default value of the column.

Comentários

Use o DesignerDataColumn construtor para definir as Name DataType Propriedades, e DefaultValue .Use the DesignerDataColumn constructor to set the Name, DataType, and DefaultValue properties. Todas as outras propriedades são definidas com seus valores padrão.All other properties are set to their default values.

Aplica-se a

DesignerDataColumn(String, DbType, Object, Boolean, Boolean, Boolean, Int32, Int32, Int32)

Inicializa uma nova instância da classe DesignerDataColumn com os valores especificados.Initializes a new instance of the DesignerDataColumn class with the specified values.

public:
 DesignerDataColumn(System::String ^ name, System::Data::DbType dataType, System::Object ^ defaultValue, bool identity, bool nullable, bool primaryKey, int precision, int scale, int length);
public DesignerDataColumn (string name, System.Data.DbType dataType, object defaultValue, bool identity, bool nullable, bool primaryKey, int precision, int scale, int length);
new System.ComponentModel.Design.Data.DesignerDataColumn : string * System.Data.DbType * obj * bool * bool * bool * int * int * int -> System.ComponentModel.Design.Data.DesignerDataColumn
Public Sub New (name As String, dataType As DbType, defaultValue As Object, identity As Boolean, nullable As Boolean, primaryKey As Boolean, precision As Integer, scale As Integer, length As Integer)

Parâmetros

name
String

O nome que identifica a coluna no armazenamento de dados.The name identifying the column in the data store.

dataType
DbType

Um dos valores de DbType.One of the DbType values.

defaultValue
Object

O valor padrão da colunaThe default value of the column

identity
Boolean

true se o campo é o campo de identidade da linha de dados; caso contrário, false.true if the field is the identity field of the data row; otherwise, false.

nullable
Boolean

true se o campo pode ser nulo no armazenamento de dados; caso contrário, false.true if the field can be null in the data store; otherwise, false.

primaryKey
Boolean

true se o campo é a chave primária da linha de dados; caso contrário, false.true if the field is the primary key of the data row; otherwise, false.

precision
Int32

O número máximo de dígitos usados por um campo de dados numéricos.The maximum number of digits used by a numeric data field.

scale
Int32

O número máximo de dígitos à direita do ponto decimal em um campo de dados numéricos.The maximum number of digits to the right of the decimal point in a numeric data field.

length
Int32

O tamanho do campo de dados, em bytes.The length of the data field, in bytes.

Comentários

Use o DesignerDataColumn construtor para definir todas as propriedades de um DesignerDataColumn objeto.Use the DesignerDataColumn constructor to set all the properties of a DesignerDataColumn object.

Aplica-se a